Cart Module
Related Topics
Introduced in Tiki5
This module displays the content of the cart, allows to modify quantities and proceed to payment. It is intended to be used in conjunction with PluginAddToCart.
Usage
You can assign the module in a module zone using the standard Module Settings Interface.
You can also insert the module in any page using the PluginModule:
Copy to clipboard
{module module="cart" ajax="y" showItems="y" showCount="y" showItemButtons="y" nobox="y"}
Parameters
Displays the content of the cart, allows quantities to be modified and proceeds to payment.Go to the source code
Preferences required: payment_feature
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
checkoutURL |
url | Where to go to when the "Check-out" button is clicked but before the payment invoice is generated (Default empty: Goes to tiki-payment.php) | ||
postPaymentURL |
url | Where to go to once the payment has been generated, will append "?invoice=xx" parameter on the URL for use in pretty trackers etc. (Default empty: Goes to tiki-payment.php) | ||
showItemButtons |
alpha | Shows add, remove and delete buttons on items (y/n) | n | |
showCount |
alpha | Shows the number of items in the cart (y/n) | n | |
showItems |
alpha | Shows the items in the cart as they are added (y/n) | y | |
showWeight |
alpha | Shows the weight of the items in the cart (y/n) | n | |
ajax |
alpha | Use AJAX services for managing the cart (y/n) | n | |
weightUnit |
alpha | Shown after the weight | g |
Related Pages
See these pages for information that applies for all modules:
- Module — Overall introduction and overview
- Module Admin — Introduction to the module admin pages for site-wide and individual module settings
- Assigning Modules — How to select a module to configure it
- Module Settings Interface — Interface for configuring individual module settings
- Module Settings Parameters — Explanation of standard parameter settings for modules
- Creating Custom Modules — How to create user modules
- Index of Modules — Links to the documentation of individual modules
- User Modules — How (if the feature is active) users can choose and place their modules
- Mods Type Modules — Links to modules that are installed as components