Post by ftntravis » Wed Jun 08, 2011 5:09 am

If you view my sample product here:http://www.feeltheneed.net/shop/index.p ... duct_id=40

Once something is added to the cart a "cart" button shows up? Does anyone know why this would happen??? I checked all of the php codes and template file for the cart and there is nothing telling it to do that.

Also, the "remove" buttons do not work at all. Is there a reason for this?

I am using the latest version of OpenCart and the side cart module. Any help you can give is much appreciated.

Thanks!

Newbie

Posts

Joined
Wed Jun 08, 2011 5:04 am

Post by ftntravis » Wed Jun 08, 2011 3:04 pm

bump* anyone that can help?

Newbie

Posts

Joined
Wed Jun 08, 2011 5:04 am

Post by SXGuy » Wed Jun 08, 2011 6:09 pm

yes, the ajax add to cart function edits the cart module design after the cart flys across the page, to give the illusion that the cart module updated without refreshing the page.

As such, the code it uses is including those buttons as an image to the url links for view basket and checkout, where as your original code for the cart does not include these.

you need to either add the images to the original cart template or remove them from the ajax code it passes across in function.

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by ftntravis » Wed Jun 08, 2011 11:37 pm

Thanks so much! I will try this tonight when I get home. I appreciate your help. Also, I was wondering, would it be hard to remove the numbers in the categories? That tell you how much is in them?

Thanks again! I appreciate it,

Newbie

Posts

Joined
Wed Jun 08, 2011 5:04 am

Post by SXGuy » Thu Jun 09, 2011 1:24 am

it shouldnt be hard, but as i am not familiar with your template, i cant tell you, perhaps look at catalog/view/theme/yourtheme/template/module/category.tpl and remove anything to do with counting sub categories or products.

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by ftntravis » Thu Jun 09, 2011 3:09 pm

I'm sorry, but where might I find that ajax file to edit??

Thank You!

Newbie

Posts

Joined
Wed Jun 08, 2011 5:04 am

Post by ftntravis » Fri Jun 10, 2011 8:45 am

So I found out that my remove buttons DO work on the cart but they do not refresh it?? Would this be because something in the AJAX code?

I recently found that the older model of open cart has this module already and it works quite well. I just do not want to downgrade and lose everything I have worked on so far :(

Newbie

Posts

Joined
Wed Jun 08, 2011 5:04 am

Post by SXGuy » Fri Jun 10, 2011 3:22 pm

catalog/controller/module/cart.php

check the very bottom of the file to make sure the checkout and view code is using the same styles as your view file.

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by ftntravis » Sun Jun 12, 2011 10:00 am

Thank you! I appreciate your help a lot. It has helped. I ended up downgrading and using the side cart made by open cart because it works properly, but I do want to style it so thanks for the info!

Newbie

Posts

Joined
Wed Jun 08, 2011 5:04 am
Who is online

Users browsing this forum: No registered users and 9 guests