Developer manual

SimpleCart

SimpleCart is a jQuery based shopping cart

Updated: Type:

Configuring a site for SimpleCart

Include the form to allow editors to add products to a page

In your custom.pages.xml (or the custom form you wish to use), include:

<template value="spring.product.xml"/>

Include the SpringTags to output the products and carts

To embed a list of products, in layout.xml include the products SpringTag:

<products/>

To embed the cart summary, in layout.xml include the cartsummary SpringTag:

<cartsummary/>

To embed the complete cart, in layout.xml include the cart SpringTag:

<cart/>

To embed the payment button, in layout.xml include the checkout SpringTag:

<checkout/>