Edit History
Hey guys I want to remove the Add To Cart button that comes with the classic theme on the product page as I downloaded a quick add to card module I do not need 2 buttons to do the same job.
I'm running Prestashop 1.7.4.2
I attached a photo of what I need to remove
I tried this
Quote{if ($product.allow_oosp || $product.quantity > 0)} {if isset($static_token)} <a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)|escape:'html'}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a> {else} <a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}", false)|escape:'html'}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a> {/if} {else} <span class="exclusive"><span></span>{l s='Add to cart'}</span><br /> {/if} {/if}
I added it to the end of my product-list.tpl but then my page wouldn't load anymore not sure if it has to go somewhere else