Hello,
I need help with a simple trick. I want to be able to display in my cart page the number of items already added onto the shopping cart.
How can I do that?
Below is the code I was able to come up with, but it only output '1' as the count despite more than one entries made
I need help with a simple trick. I want to be able to display in my cart page the number of items already added onto the shopping cart.
How can I do that?
Below is the code I was able to come up with, but it only output '1' as the count despite more than one entries made
- Code: Select all
<cms:set item_count='0' 'global' />
<cms:repeat count='1' startcount='0' >
<tr>
<td >
<------ entries ------->
</td>
</tr>
<cms:incr item_count />
</cms:repeat>