NVaporize Posted September 19, 2014 Share Posted September 19, 2014 Hi I'm having a weird issue with the add to cart display button. I managed to take the add to cart button on every single product so they can click on it and take them to the description of the product before add it to the cart. Only thing is there is one product I can't take out the add to cart button. For more details that you can see what I'm talking about please go to qruvape.com and click to see hookahs. On the second page of hookahs there is a product called e hookah conversion kit that has the add to cart button I'm looking to delete. For your reference my prestashop version is 1.4.9. Thanks. Link to comment Share on other sites More sharing options...
musicmaster Posted September 21, 2014 Share Posted September 21, 2014 I am afraid you will need to hardcode that. It is in the file product-list.tpl in your theme directory. There you find something similar to the following (it may differ a bit by version or theme): {if ($product.quantity > 0 OR $product.allow_oosp)} <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'}">{l s='Add to cart'}</a> {else} <span class="exclusive">{l s='Add to cart'}</span> {/if} Here you can outcomment or delete the button. Link to comment Share on other sites More sharing options...
NVaporize Posted September 22, 2014 Author Share Posted September 22, 2014 Yep that did the trick. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts