The cart tag contains all of the items currently stored in the users cart. The cart tag automatically wraps the content in a form so that it can be posted to update the quantity. Hint: You can use the cart_items tag to create an empty cart message. Check out http://demo.brilliantretail.com/cart for a live demo.
{exp:brilliant_retail:cart}
<a href="{exp:brilliant_retail:cart_clear_link}" id="empty_cart">empty cart</a>
{items}
<tr>
<td class="col1"><a href="{remove_link}"><img src="{theme}/images/remove.jpg" alt="Remove" title="Remove Item" /></a></td>
<td class="col2"><table><tr><td>{exp:brilliant_retail:image src="{image_thumb}" width="75" height="90"}</td></tr></table></td>
<td class="col3">
<h5><a href="{path='product/{url_title}'}">{title}</a></h5>
{options}
</td>
<td class="col4">
<input name="qty[{hash}]" class="qty" type="text" value="{quantity}" /></td>
<td class="col5">{price_html}</td>
<td class="col5">{subtotal}</td>
</tr>
{/items}
{/exp:brilliant_retail:cart}
Comments
Add Your Comments
You must be logged in to comment.