imjakegator Posted September 2, 2018 Share Posted September 2, 2018 (edited) . Edited May 13, 2020 by imjakegator (see edit history) Link to comment Share on other sites More sharing options...
User17745 Posted September 3, 2018 Share Posted September 3, 2018 (edited) Does your module come with an option to disable the default button? You should check at the module configuration page. The TPL file responsible for that add to cart button is "product-add-to-cart.tpl" located at "(store's root directory)\themes\classic\templates\catalog\_partials\", this file is included in "product.tpl" which is located at the catalog directory just above the earlier one. You can simply comment out this code in the product.tpl file and it should do the trick: Quote {block name='product_variants'} {include file='catalog/_partials/product-variants.tpl'} {/block} Also turn on the Debug mode while experimenting with your store so you could see the actual errors by going to Advanced Parameters->Performance. Hope this helps. Edited September 3, 2018 by User17745 (see edit history) Link to comment Share on other sites More sharing options...
NunoACruz Posted February 19, 2020 Share Posted February 19, 2020 Hello! Can you please help me to remove add to cart button only when price is 0 (zero), I'm using prestashop 1.7.5. Best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now