Prestashop add to cart button doesn't work -


i have disabled price displays visitors on shop. so, have log in/register see prices.

to checkout, have register/log in too. guess checkout being disabled.

however, want allow them add products cart if not logged in , don't see prices. need log in if want purchase/checkout.

if enable price displays visitors on site, works fine. however, when disable it, add cart button no longer works.

suggestions on making work visitors too?

in prestashop/themes/yourtheme:

edit product-list.tpl , products.tpl adjusting smarty {if} statements surrounding 'add cart' button/link link shows when prices disabled.

edit shopping-cart.tpl , shopping-cart-product-line.tpl adding smarty {if} statements hide prices when users not logged in.

there might few other places edit, should started.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -