Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146
Display a button for adding items to the shopping cart | Documentation for Tiki Wiki CMS Groupware
Loading...
 
Skip to main content
Display a button for adding items to the shopping cart

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

Tiki Doc From Code error: addtocart not found

Example

This code,

Copy to clipboard
{addtocart description="Panama Hat" code="A150" price="45.00"}

Would produce:


(screenshot)
(screenshot)

The add to cart button would typically be used along with item information like below:

Image
Panama Hat
$45.00
Image

 Note
The description, inventory code and price are passed to the shopping cart when the add to cart button is clicked.

Aliases

Plugin Cart | Plugin Add to Cart | Plugin AddtoCart

Attached files

ID Name Comment Uploaded Size Downloads
43 addtocart2.png Add to cart button lindon 615 b 2598
39 hat.jpg Hat lindon 1.61 Kb 14364
Show PHP error messages