Post by brendak » Sun Oct 28, 2012 8:04 pm

I would like to remove the add to cart on the left and right sides (modules), but keep the balance of buttons on my products and categories. Is that possible? If so, what files do I edit /comment out? I am using version 1.5.4

Thank you for sharing!
Last edited by brendak on Mon Oct 29, 2012 5:34 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Oct 25, 2012 11:50 am

Post by grgr » Sun Oct 28, 2012 10:18 pm

Comment line 23 of the templates for each relevant module in

../catalog/view/theme/YOUR_THEME/template/module/

so it reads as

Code: Select all

    <!--    <div class="cart"><input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" /></div> -->

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by brendak » Mon Oct 29, 2012 5:34 am

Thank you! Worked great. I appreciate your quick response.

Newbie

Posts

Joined
Thu Oct 25, 2012 11:50 am

Post by teddy_leopold » Mon Oct 29, 2012 6:53 pm

Also like to say thank you for this great tip. Personally I never saw the logic of having those add to cart buttons displayed within the modules.

Newbie

Posts

Joined
Wed Oct 17, 2012 7:53 pm

Post by teddy_leopold » Tue Oct 30, 2012 7:58 pm

I wonder if anyone can tell me how I can also remove the add to basket button from the related products as well? Thanks.

Newbie

Posts

Joined
Wed Oct 17, 2012 7:53 pm
Who is online

Users browsing this forum: No registered users and 7 guests