Jump to content
  • 0
slyv

Remove "Add to cart" in PrestaShop 1.4

Question

Hello everyone,
I'm using PrestaShop 1.4. How can I hide the button "Add to Cart"?
I found some solutions that work for earlier versions, such as [url=http://www.prestashop.com/forums/viewthread/70864/configuring___using_prestashop/solvedprestashop_as_a_catalog_only]here[/url]

How can I adapt it for 1.4?

PS. I want to remove only the "Add to Cart" ...

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
It 's a good idea, but in this way (in catalog mode) disappear prices ...
For this reason I decided to manually delete the button "Add to Cart" ...

Share this post


Link to post
Share on other sites
  • 0
Had the same problem. This solved it for me:

Go to themes/prestashop/product-list.tpl and remove


{if ($product.allow_oosp || $product.quantity > 0) && $product.customizable != 2}
getPageLink('cart.php')}?add&id_product={$product.id_product|intval}{if isset($static_token)}&token={$static_token}{/if}" title="{l s='Add to cart'}">{l s='Add to cart'}
{else}
{l s='Add to cart'}
{/if}

Good luck!

Share this post


Link to post
Share on other sites
  • 0
Hi, I am new.

I tried the above fix but it still doesn't allow me to remove the add to cart button from the products view.

I tried editing product-list.tpl in the theme folder. the code is a bit different:
{if ($product.allow_oosp || $product.quantity > 0) && $product.customizable != 2}
getPageLink('cart.php')}?add&id_product={$product.id_product|intval}{if isset($static_token)}&token={$static_token}{/if}" title="{l s='Add to cart'}">{l s='Add to cart'}
{else}
{l s='Add to cart'}
{/if}


I am using PrestaShop™ 1.4.1.0.

Could you help me out?
Thanks in advance.

Share this post


Link to post
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

×