[ic] cart status

Davor Ocelic docelic at spinlocksolutions.com
Mon Dec 1 02:05:27 UTC 2008


On Sun, 30 Nov 2008 17:55:33 -0800
Darnell Hudson <hudsondarnell43 at verizon.net> wrote:

> What tag do you use for cart status so you want to show whether a
> cart is empty or has
> product, like on a side of a site

1) [nitems] displays number of items in the cart.

2) If you're using Standard demo based store, you have cart_tiny
component in there which summarizes cart contents
(file is /templates/components/cart_tiny)

3) You can use a special if "items" clause like this:

[if items]
 You have [nitems] items in your cart.
[else]
 No items in cart.
[/else]
[/if]


-doc



More information about the interchange-users mailing list