Jump to content

Remove "Add To Cart" on Product Page


Recommended Posts

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 by User17745 (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...