Post by Nommy » Sat Aug 04, 2012 2:01 am

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

Newbie

Posts

Joined
Thu Aug 02, 2012 3:18 pm

Post by straightlight » Sat Aug 04, 2012 2:03 am

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>
Last edited by straightlight on Sat Aug 04, 2012 2:25 am, edited 2 times in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Nommy » Sat Aug 04, 2012 2:13 am

Thanks! I already tried that anyway. When I delete that part this will happen...
http://www.imgdumper.nl/uploads5/501c14 ... titled.jpg

Newbie

Posts

Joined
Thu Aug 02, 2012 3:18 pm

Post by straightlight » Sat Aug 04, 2012 2:24 am

Instructions updated above.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Nommy » Sat Aug 04, 2012 2:33 am

straightlight wrote:Instructions updated above.
Tried but still not fixed. Same problem...

Newbie

Posts

Joined
Thu Aug 02, 2012 3:18 pm

Post by straightlight » Sat Aug 04, 2012 2:44 am

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Nommy » Sat Aug 04, 2012 2:48 am

No problem! I hope somebody can help me to fix this problem.

Newbie

Posts

Joined
Thu Aug 02, 2012 3:18 pm

Post by zuhenry » Sat Aug 04, 2012 3:03 am

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

Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios


Active Member

Posts

Joined
Fri Sep 09, 2011 9:54 pm
Location - Colombia

Post by Nommy » Sat Aug 04, 2012 3:10 am

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.

Newbie

Posts

Joined
Thu Aug 02, 2012 3:18 pm

Post by Nommy » Sun Aug 05, 2012 7:48 pm

Anybody?

Newbie

Posts

Joined
Thu Aug 02, 2012 3:18 pm
Who is online

Users browsing this forum: Semrush [Bot] and 83 guests