THAO LAM VIET Posted September 18, 2012 Share Posted September 18, 2012 Dear friends, I'm using prestashop 1.5.0.17 but "add to cart" button in home page does not work. Original code's below. <a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart.php')}?qty=1&id_product={$product.id_product}&token={$static_token}&add" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a> When i changed class="button" for example, the "Add to cart" button showes up but when i click on it, it redirect me to checkout page. It seems ajax not work. Anyone faces this problem, please let me know how to fix it. Thanks in advanced! Link to comment Share on other sites More sharing options...
THAO LAM VIET Posted September 19, 2012 Author Share Posted September 19, 2012 no body faced this problem? Link to comment Share on other sites More sharing options...
adhee Posted September 21, 2012 Share Posted September 21, 2012 no body faced this problem? Hi, Check this out http://www.prestashop.com/forums/topic/179203-solved-add-to-cart-button-not-working-in-featured-products/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts