Jump to content

PrestaShop 1.5.6 shopping cart error - cart empty when adding "www" to domain


Recommended Posts

Hi I have same problems. 

when I adding to domain "www.domain" in SEO&URL I have cart error, the cart empty. The products add to cart normaly but when go to view cart he become empty. with out "www" - domain.com the cart work perfectly. 

 

I try to delete cash restart cart, turned of and so on. 

 

Link to comment
Share on other sites

Hi I have same problems. 

when I adding to domain "www.domain" in SEO&URL I have cart error, the cart empty. The products add to cart normaly but when go to view cart he become empty. with out "www" - domain.com the cart work perfectly. 

 

I try to delete cash restart cart, turned of and so on. 

 

this is probably caused by your cname not having the www.

 

You can add a 301 redirect to your .htaccess that will change entry of non-www to www before  going to ps.

# Redirect non-www to www:
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

If you are uncomfortable changing your .htaccess using ftp,  see here: http://www.prestashop.com/forums/topic/213570-module-prestashop-back-office-customize-apache-htaccess/

Link to comment
Share on other sites

×
×
  • Create New...