Jump to content

Remove "Add to cart" in PrestaShop 1.4


Recommended Posts

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 here

How can I adapt it for 1.4?

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

Link to comment
Share on other sites

  • 2 weeks later...

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!

Link to comment
Share on other sites

  • 3 weeks later...

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.

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