WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: patje8 on May 07, 2014, 11:11:34 AM
-
When I put an items in the shoppingcart, he won't count this.
It is still 0 items.
-
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.
-
<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>
-
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 ModBakeryItemsInCar t 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
-
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.
-
bedankt
-
bedankt
You're welcome! / Graag gedaan!
-
Heb een paar dingen veranderd maar helaas werkt het niet meer.
Kan er me iemand helpen?