start to implement cart loop

This commit is contained in:
Manuel Raynaud
2013-08-08 17:56:30 +02:00
parent 8b00676139
commit 2e1627398c
4 changed files with 23 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
{include file="includes/header.html"}
<h1>{intl l='cart'}</h1>
<ul>
{loop name="cart" type="cart"}
<li>Item {$LOOP_COUNT}/{$LOOP_TOTAL} : #TITLE - quantity : #QUANTITY</li>
{/loop}
</ul>
{form name="thelia.cart.add" }
{* We use $INDEX_PAGE as form action to avoid mixing post and get data *}