Jump to content

I Want To Remove The 'add To Cart' Button From The Products Page


Recommended Posts

Hi,

 

I am using Prestashop version 1.6.1.3. I want to remove the 'add to cart' button from the products page. I tried editing the product-list.tpl but it just does not work.

 

Could anyone please help me?

 

Thank youuuuu!

Link to comment
Share on other sites

if you want to remove it on product detail page, let's open product.tpl file then find this words add_to_cart

you will be see those line

<div class="box-cart-bottom">
<div{if (!$allow_oosp && $product->quantity <= 0) || !$product->available_for_order || (isset($restricted_country_mode) && $restricted_country_mode) || $PS_CATALOG_MODE} class="unvisible"{/if}>
<p id="add_to_cart" class="buttons_bottom_block no-print">
<button type="submit" name="Submit" class="exclusive">
<span>{if $content_only && (isset($product->customization_required) && $product->customization_required)}{l s='Customize'}{else}{l s='Add to cart'}{/if}</span>
</button>
</p>
</div>
remove it,
hope it helpful
Link to comment
Share on other sites

If you want it for every products in shop just go to Preferences > Products > catalog mode switch to YES, if you want it only for one product go to CAtalog > Products > choose product, click edit and in first tab "Information" you have checkbox "available for order" simply uncheck it.

Edited by endriu107 (see edit history)
  • Like 1
Link to comment
Share on other sites

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...