count items

patje8

Heb een paar dingen veranderd maar helaas werkt het niet meer.
Kan er me iemand helpen?

nibz


patje8


nibz

And since i was on it i also added a way to make the link of the cart go to the right language.
But since you didn't allready made your English pages the link to the cart in the Englisch language  part of your site is currently not working.

But if you make the webshop just like the dutch pages then it should all work.

nibz

Just like i said, the 0 is hardcoded see:

<a href=http://www.basero.be/pages/nl/webshop/all.php?view_cart=yes"><img src="<?php echo TEMPLATE_DIR?>/img/cart.png" alt="shoppingcart" /><span>0</span></a></div>

and especially the part:

<span>0</span>


But i just made a new droplet in your website ModBakeryItemsInCart and made some files in the modules>bakery>templates for it and now the code [[ModBakeryItemsInCart]] displays a span with the amouth of items in the cart.

I allready added it to your template, so it should work now.

Regards Robin

patje8

<a href=http://www.basero.be/pages/nl/webshop/all.php?view_cart=yes"><img src="<?php echo TEMPLATE_DIR; ?>/img/cart.png" alt="shoppingcart" /><span>0</span></a></div>

nibz

Probably because i just added 0 instead of a script to display total items in the cart.
Will have a look if there is one, and implement it.

patje8

When I put an items in the shoppingcart, he won't count this.
It is still 0 items.