Post by op_user » Fri Jun 25, 2010 1:24 am

How can the quick add to cart feature be removed via setting or even template edit? I'm talking about the little + button that quickly adds products to the cart.

I am waiting for Open Cart 3.0


New member

Posts

Joined
Thu Dec 10, 2009 9:45 am

Post by Qphoria » Fri Jun 25, 2010 1:38 am

At this time it must be removed from the tpl file. In 1.4.9 I will add the option to remove it from the admin area

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by op_user » Fri Jun 25, 2010 2:11 am

Which tpl files please?

I am waiting for Open Cart 3.0


New member

Posts

Joined
Thu Dec 10, 2009 9:45 am

Post by Karen » Sat Jun 26, 2010 8:05 am

catalog/view/theme/default/template/product/category.tpl

Find and delete this code:

Code: Select all

<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
If you don't want to modify the template, a quick and dirty way to accomplish this is to rename the image button_add_small.png (in catalog/view/theme/default/image) to button_add_small_old.png (in case you ever decide you want to use it again), and then upload a new button_add_small.png that is a 1 pixel image.

Using OC version 1.4.8b
http://catandcaboodle.com/


User avatar
Active Member

Posts

Joined
Thu Jun 10, 2010 2:51 pm
Location - WA State, USA
Who is online

Users browsing this forum: No registered users and 14 guests