Post by Suwanto » Thu Mar 15, 2012 11:29 am

some problems again. add to cart button doesn't work in home page n category page..
but in product page, it does work.. how to solve this problem.

Newbie

Posts

Joined
Thu Mar 08, 2012 2:43 pm

Post by alin » Fri Mar 16, 2012 10:53 pm

Which version are you using?, why is your issue?

GOLDEN LEOPARD SYSTEM SOLUTION
An ICT System Solution Company in Vietnam
Website: Store: http://opencart.goleo.vn or http://www.opencart.com/index.php?route ... rname=alin


User avatar
Active Member

Posts

Joined
Fri Jun 10, 2011 8:16 pm

Post by SarahWang » Sat Mar 17, 2012 1:17 am

I have the similar problem. My 'add to cart' doesn't work at all after upgrading to v1.5.2.1! Please help

Newbie

Posts

Joined
Fri Mar 16, 2012 3:59 am

Post by suprajoe » Mon Mar 19, 2012 6:43 am

I am having the same issue. Just upgraded to 1.5.2.1. I have a second theme folder I am using called default_black. Everything was working great until the upgrade. When I browse to the product category, it shows all my products. I can add to cart from there, but when I click on a specific product and it takes me to that specific page, the add to cart button does not work. Any help is appreciated. Thanks -Joe

Newbie

Posts

Joined
Wed Jan 25, 2012 9:49 am

Post by jty » Tue Mar 20, 2012 6:52 am

You need to upgrade your theme.
First thing is to change your theme back to the open cart default theme. Does it work then ?
Then go a head and upgrade your theme. One of the things to look out for is in header.tpl. jquery has been upgraded for 1.5.2
I don't know the rest

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by Saile » Sat Apr 21, 2012 6:59 am

Could someone please help me understand how to fix this issue?

I just upgraded to the latest as well and when i click "add to cart" on home page from the featured products, it will not add to cart. I can only add to cart if i specifically click into the product.

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by divyeshamipara » Sun Apr 29, 2012 12:33 pm

Hi,

I have faced the same problem and the below link explains why add-to-cart does not work for home page.

Its a simple but stupid problem.

It will work for www.site.com if config.php has the same but not for site.com.

Check the link-> http://code.google.com/p/opencart/issues/detail?id=830

Hope it helps.

Regards
Divyesh


Posts

Joined
Tue Apr 10, 2012 2:01 pm

Post by Saile » Sun Apr 29, 2012 12:39 pm

Thanks for the reply but that didn't work. Or maybe i didnt do it right?

The problem is not the URL anymore. After i did the latest update to the files, the issues occurred. Even when i try the site with www and without, still cannot add to products.

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by divyeshamipara » Sun Apr 29, 2012 12:52 pm

Hi,

It could be because your theme may require little bit alteration because of the upgrade.

First thing I would do is to check if upgrade is ok with default theme by changing theme in admin panel.

You could also check error log in hosting cPanel, OC Admin or javascript error in IE.

Putting .htaccess (with the below content) in the Opencart directory worked for me.

Options +FollowSymlinks
Options -Indexes
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourhostname.com [NC]
RewriteRule ^(.*)$ http://www.yourhostname.com/$1 [L,R=301]

Regards
Divyesh


Posts

Joined
Tue Apr 10, 2012 2:01 pm

Post by Saile » Sun Apr 29, 2012 12:58 pm

Well the theme is in default.

Error logs:

File does not exist: /home/gommel77/public_html/robots.txt
File does not exist: /home/gommel77/public_html/404.shtml
File does not exist: /home/gommel77/public_html/robots.txt
File does not exist: /home/gommel77/public_html/404.shtml
File does not exist: /home/gommel77/public_html/robots.txt
File does not exist: /home/gommel77/public_html/404.shtml
File does not exist: /home/gommel77/public_html/favicon.ico

.htaccess code didn't work again.

You can see what i mean by going to the site www.gomtc.com.au

When you click add to cart on featured products, it just wont do it

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am
Who is online

Users browsing this forum: No registered users and 22 guests