Page 1 of 1

Add to Cart Button

Posted: Sat Aug 04, 2012 2:01 am
by Nommy
Hi all,


I'm already for three days trying to remove to Add to Cart button from the Featured-module, but I still can't fix it.
I read a few topics about this, but it didn't solved my problem.

I'm using the newest version of OpenCart I hope somebody can help me to fix this.


Quincy

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 2:03 am
by straightlight
In your catalog/view/theme/your_theme/template/module/featured.tpl file,

find:

Code: Select all

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

Code: Select all

<div class="cart"><br style="clear: both;" /></div>

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 2:13 am
by Nommy
Thanks! I already tried that anyway. When I delete that part this will happen...
http://www.imgdumper.nl/uploads5/501c14 ... titled.jpg

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 2:24 am
by straightlight
Instructions updated above.

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 2:33 am
by Nommy
straightlight wrote:Instructions updated above.
Tried but still not fixed. Same problem...

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 2:44 am
by straightlight
Sorry, I'm not a web designer but since this request was about removing the add-to-cart button, I thought this what you were looking for to do as a result.

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 2:48 am
by Nommy
No problem! I hope somebody can help me to fix this problem.

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 3:03 am
by zuhenry
Well, looks like the "Add to Cart" button has been removed, right?
Do you still need help? if so, what exactly do you need?

zh

Re: Add to Cart Button

Posted: Sat Aug 04, 2012 3:10 am
by Nommy
The button has been removed that right! but its shows up like this. http://www.imgdumper.nl/uploads5/501c14 ... titled.jpg the products should be in horizon-line and its now vertical en the Brands should under the products as always... I hope you can help me.

Re: Add to Cart Button

Posted: Sun Aug 05, 2012 7:48 pm
by Nommy
Anybody?