Remove "Add to cart" in PrestaShop 1.4 - Configuring & using PrestaShop - PrestaShop

Jump to content

Photo

Remove "Add to cart" in PrestaShop 1.4

#1

Posted 22 March 2011 - 11:04 PM

slyv

    PrestaShop Newbie

  • Members
  • Pip
  • 8 Active 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" ...

#2

Posted 23 March 2011 - 08:36 AM

jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 2050 Active Posts
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.

#3

Posted 23 March 2011 - 01:41 PM

slyv

    PrestaShop Newbie

  • Members
  • Pip
  • 8 Active Posts
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" ...

#4

Posted 05 April 2011 - 07:44 PM

Blablablabla

    PrestaShop Newbie

  • Members
  • Pip
  • 1 Active Posts
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!

#5

Posted 26 April 2011 - 02:38 AM

Click Me Home

    PrestaShop Newbie

  • Members
  • Pip
  • 1 Active Posts
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

#6

Posted 30 April 2011 - 01:59 PM

Kumarr31

    PrestaShop Newbie

  • Members
  • Pip
  • 8 Active Posts
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

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more