Hi,
The add to cart buttons don't work unless I go into one of product and click on add to cart. It works. Then the front page add to cart would work. Does any one know what went wrong? I didn't mod any pages except change the date format. Got simple credit card module and youtube module.
Chris
The add to cart buttons don't work unless I go into one of product and click on add to cart. It works. Then the front page add to cart would work. Does any one know what went wrong? I didn't mod any pages except change the date format. Got simple credit card module and youtube module.
Chris
This seems to normally be when the config file says http ://yourdomain... and the browser address is http ://www.youdomain...
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
hello,
I have the same problem. Button "add to cart" doesn't work just on product's page.
I understand that I have problem in "product.tpl" page, but have no idea how to fix it.
For example page with product : http://www.owlstore.ru/base-london-ae84
Add to cart = "В корзину" (orange button).
It's awful cause nobody can buy anything from store (
I tried to solve this problem on other forums - no effects.
I have the same problem. Button "add to cart" doesn't work just on product's page.
I understand that I have problem in "product.tpl" page, but have no idea how to fix it.

For example page with product : http://www.owlstore.ru/base-london-ae84
Add to cart = "В корзину" (orange button).
It's awful cause nobody can buy anything from store (
I tried to solve this problem on other forums - no effects.
You need to add
//--></script>
Directly after:
/*End added*/
}
}
});
});
Bit of a guess though....
//--></script>
Directly after:
/*End added*/
}
}
});
});
Bit of a guess though....
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Hi, I have exactly the same problem. Can you please point me where I should put the code? which file is that?
thanks!
thanks!
xsobakax had edited the template hence needing the code.
The problem of the add to cart button not working on the home page seems to normally be when the config file says http://yourdomain... and the browser address is http://www.youdomain...
You need to change your config files or force your hosting to either www or non-wwww
The problem of the add to cart button not working on the home page seems to normally be when the config file says http://yourdomain... and the browser address is http://www.youdomain...
You need to change your config files or force your hosting to either www or non-wwww
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
I am following this thread with great interest.
I am having the same issue.
When adding a product to the cart from the homepage it works with www.guitarplayback.com
However guitarplayback.com does not allow the add to cart to work.
I am a bit confused as to what needs to be done to fix this though... :-/
Help!
I am having the same issue.
When adding a product to the cart from the homepage it works with www.guitarplayback.com
However guitarplayback.com does not allow the add to cart to work.
I am a bit confused as to what needs to be done to fix this though... :-/
Help!
Guitar Backing Tracks and Video Lessons at http://www.guitarplayback.com
Found a solution... 301 Redirect yourdomain.com to http://www.yourdomain.com.
Change "yourdomain" to your site url. and add into .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
edit config.php:
// HTTP
define('HTTP_SERVER', 'http://www.yourdomain.com/');
define('HTTP_IMAGE', 'http://www.yourdomain.com/image/');
define('HTTP_ADMIN', 'http://www.yourdomain.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'https://www.yourdomain.com/');
define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
edit admin/config.php:
// HTTP
define('HTTP_SERVER', 'http://www.yourdomain.com/admin/');
define('HTTP_CATALOG', 'http://www.yourdomain.com/');
define('HTTP_IMAGE', 'http://www.yourdomain.com/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.yourdomain.com/admin/');
define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
Hope this helps...
Change "yourdomain" to your site url. and add into .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
edit config.php:
// HTTP
define('HTTP_SERVER', 'http://www.yourdomain.com/');
define('HTTP_IMAGE', 'http://www.yourdomain.com/image/');
define('HTTP_ADMIN', 'http://www.yourdomain.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'https://www.yourdomain.com/');
define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
edit admin/config.php:
// HTTP
define('HTTP_SERVER', 'http://www.yourdomain.com/admin/');
define('HTTP_CATALOG', 'http://www.yourdomain.com/');
define('HTTP_IMAGE', 'http://www.yourdomain.com/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.yourdomain.com/admin/');
define('HTTPS_IMAGE', 'https://www.yourdomain.com/image/');
Hope this helps...

honestly, I've proved these solutions, but it continues without working.
which file do i have to edit with:
//--></script>
Directly after:
/*End added*/
}
}
});
});
in addition, i've proved the other solution and it doesnt' work
Thanks!
which file do i have to edit with:
//--></script>
Directly after:
/*End added*/
}
}
});
});
in addition, i've proved the other solution and it doesnt' work
Thanks!
You don't, that was specifically for the original poster.fpuyo wrote:honestly, I've proved these solutions, but it continues without working.
which file do i have to edit with:
//--></script>
Directly after:
/*End added*/
}
}
});
});
in addition, i've proved the other solution and it doesnt' work
Thanks!
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
There is same issue me too. But my site is in localhost and I'm using bossthemes(go-market). I added my product.tpl file. Please can you help me this topic?
Attachments
product.tpl
Just navigate to your Cpanel account and under Redirects section make a permanent redirect from www.yoursite.com to yoursite.com!
Add to Cart button not working after 301 redirect sohozlife.com to http://www.sohozlife.com
Please help to fix this issue
The .htaccess code is:
Please help to fix this issue

The .htaccess code is:
Code: Select all
# SEO URL Settings
RewriteEngine On
RewriteCond %{HTTP_HOST} ^sohozlife.com [NC]
RewriteRule ^(.*)$ http://www.sohozlife.com/$1 [L,R=301,NC]
Who is online
Users browsing this forum: No registered users and 54 guests