PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

Photo

Remove "Add to cart" in PrestaShop 1.4


  • Please log in to reply
5 replies to this topic
slyv

    PrestaShop Newbie

  • Members
  • Pip
  • 8 posts

Posted 22 March 2011 - 11:04 PM

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

jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 2050 posts

Posted 23 March 2011 - 08:36 AM

You want to remove all the add-to-cart buttons and make your site an online catalog?

In preferences>products the first option is for catalog mode
Don't forget, if you find a post particularly helpful, click the like button to show other members it is helpful.

slyv

    PrestaShop Newbie

  • Members
  • Pip
  • 8 posts

Posted 23 March 2011 - 01:41 PM

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

Blablablabla

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts

Posted 05 April 2011 - 07:44 PM

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!

Click Me Home

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts

Posted 26 April 2011 - 02:38 AM

Hi Toet2000, im a real noob, how do u get into the file to edit the tpl? Do I need a additional software or anything? In need of help here, Cheers

Kumarr31

    PrestaShop Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 April 2011 - 01:59 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users