Post by Different » Wed Nov 23, 2011 9:55 pm

Hello guys.

I am having serious problem which I have also encountered on your demo page. When I enter in url bar the name of the site, for example: http://www.opencart.com/demo/, Add to Cart button under Featured Products does not work. And without www it does work. Why?! Any help is greatly appreciated. Thank you in advance.

New member

Posts

Joined
Thu Nov 17, 2011 2:22 am

Post by Different » Thu Nov 24, 2011 1:15 am

When I click on it, nothing happens. Nothing at all. Does anyone have any idea?

New member

Posts

Joined
Thu Nov 17, 2011 2:22 am

Post by rap1996 » Sun Nov 25, 2012 4:20 am

I have exactly the same problem...

designsbylynn.org works great..

www.designsbylynn.org loads fine but the add to cart buttons will not work. If you click on link, i.e., create an account, that works and the www is removed. Going back to home with the www removed, the add to cart buttons will work .

What is the fix?

Newbie

Posts

Joined
Sat Nov 24, 2012 6:57 am

Post by zuhenry » Sun Nov 25, 2012 10:03 am

Does anyone knows how to solve this?

We made a test install and the "add to cart" button doesn't work. Is this a bug?
Any ideas?

http://www.en-miami.com

I tried with different browsers and it doesn't work.

Please help

HF

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 rap1996 » Sun Nov 25, 2012 12:51 pm

Try acessing your site without using www in the url...

That seems to be the problem...

You can open page without it loading with the www prefix by adjusting your .htaccess file.

Use.....

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

Clean out your browser cache. It should work. It did for me....

:D

Newbie

Posts

Joined
Sat Nov 24, 2012 6:57 am

Post by zuhenry » Tue Nov 27, 2012 11:27 am

Yes, that's correct !!
That solve the issue.

Thanks

HF

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 jerrys8891 » Tue Nov 27, 2012 12:08 pm

rap1996 wrote:Try acessing your site without using www in the url...

That seems to be the problem...

You can open page without it loading with the www prefix by adjusting your .htaccess file.

Use.....

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

Clean out your browser cache. It should work. It did for me....

:D
thank you .your information is very good.

Newbie

Posts

Joined
Tue Nov 27, 2012 12:00 pm


Post by zelmac » Thu Nov 29, 2012 7:13 am

Hi, I have got the same problem and add to cart is not working with my new template.

However, if i change to old template, the add to cart works fine

any one with a similar situation or advise pls :(

Newbie

Posts

Joined
Thu Sep 08, 2011 3:50 am

Post by pprmkr » Thu Nov 29, 2012 4:18 pm

Check if the template is for your version of OpenCart.

Most likely your new theme uses template files with wrong scripts.
Contact the developer of your theme.

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by dorkiedoode » Fri Nov 30, 2012 5:07 am

willing to bet its a www problem. i had the same thing. had to change some settings in cpanel

Newbie

Posts

Joined
Fri Nov 16, 2012 4:34 am
Who is online

Users browsing this forum: No registered users and 15 guests