History: PluginAddToCart
Source of version: 34 (current)
Copy to clipboard
! Plugin Add to Cart Use this ((wiki plugin)), introduced in ((Tiki5)), to display a button for adding one or more items to the shopping cart. The shopping cart is displayed and accessed using ((Module Cart)). Once the order is placed in the shopping cart, the user is taken to ((Payment)). !! Parameters {pluginmanager plugin="addtocart"} !! Example ''This code,'' {CODE(wrap="1" colors="tiki")} {addtocart description="Panama Hat" code="A150" price="45.00"} {CODE} {SPLIT()} ''Would produce:'' %%% {img type="attId" attId="43" desc="(screenshot)" responsive="n"} --- The add to cart button would typically be used along with item information like below: {DIV(align=center style="border: 1px solid")}%%%{img attId="39"}%%%Panama Hat%%%$45.00%%%{img attId="43"}%%%{DIV} {SPLIT} {REMARKSBOX(type=note, title=Note)} ''The description, inventory code and price are passed to the shopping cart when the add to cart button is clicked.''{REMARKSBOX} !! Related pages * ((Payment)) * ((Shopping Cart)) * ((PluginAdjustInventory)) * ((PluginExtendCartHold)) * ((PluginPayment)) * ((PluginShopperInfo)) !! Aliases (alias(Plugin Cart)) | (alias(Plugin Add to Cart)) | (alias(Plugin AddtoCart))