jgirl Posted January 5, 2013 Share Posted January 5, 2013 I love this script! I have it installed and working for another domain ( http://janartjewelry.com ), but I just installed this for my sister and I'm in the middle of configuring and adding items to her store. Her domain is not pointing to the server where it is installed YET because she can't afford to have the store not working. Anyway, I add items to the shopping cart ... but then go to checkout or view the cart and it says Cart is Empty. Can someone please assist me in this matter?? http://handmadefusion.com/cupcakesinjars (this is the temporary URL until I finish building the site) Thanks, jgirl Link to comment Share on other sites More sharing options...
El Patron Posted January 5, 2013 Share Posted January 5, 2013 (edited) it works if you prefix the url with www. To test make sure to clear your browser cache and cookies and then enter the site with url prefixed with www. do you have www. in your shop url? does the shop ssl url match (make sure it does) if all all fails add this to the top of your .htaccess (ALSO MAKE SURE SHOP URL HAS WWW.yoururl) <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] </IfModule> Edited January 5, 2013 by elpatron (see edit history) Link to comment Share on other sites More sharing options...
jgirl Posted January 5, 2013 Author Share Posted January 5, 2013 Hi Elpatron and thank you for replying. The URL does have www in it when I'm adding items as well as when I go to view the cart. This is the configuration from phpMyAdmin Link to comment Share on other sites More sharing options...
El Patron Posted January 5, 2013 Share Posted January 5, 2013 did you notice that if you clear your browser cache and cookies and enter the site with the www. prefixed, not the one without www. as you posted that the cart worked? the problem is when you enter the site without the www... Link to comment Share on other sites More sharing options...
jgirl Posted January 5, 2013 Author Share Posted January 5, 2013 That is not the case with me. I used FF, IE and Chrome and cleared all browsing data, I also flushed my DNS to be sure. Tried the www.handmadefusion.com/cupcakesinjars and added an item to the cart. I can SEE the item go into the cart but when I click the link to view cart it says "Your shopping cart is empty." The www prefix is STILL in the browser when I'm viewing it (meaning it doesn't switch when I view the cart or try to checkout) ... so it's not changing URLS Any other suggestions I can use? I'm quite puzzled over this myself??? Link to comment Share on other sites More sharing options...
El Patron Posted January 5, 2013 Share Posted January 5, 2013 (edited) other suggestions?...well not from me...as it works...see following: http://screencast.com/t/pLy3GVMQPBpF http://screencast.com/t/tD3jvvPPiarR http://screencast.com/t/2h5S5S36lJ Edited January 5, 2013 by elpatron (see edit history) Link to comment Share on other sites More sharing options...
jgirl Posted January 5, 2013 Author Share Posted January 5, 2013 El... you are correct. I am able to pull it up in IE however I'm thinking then this is a browser issue?? That's what I meant by other suggestions. I cannot get this to show cart items when using FF and Chrome. I cleared browser history and cache, flushed DNS and it's still not showing up. I hate to be a bother here ... but it's quite frustrating. BTW thank you for replying and helping. PS I DID add the .htaccess file as you suggested. Link to comment Share on other sites More sharing options...
shacker Posted March 7, 2013 Share Posted March 7, 2013 i putted the site without www in the seo configuration and works Link to comment Share on other sites More sharing options...
anves Posted March 26, 2013 Share Posted March 26, 2013 elpatron, I had the same problem, took your advice here and the problem is gone 1 Link to comment Share on other sites More sharing options...
MackStores.Com Posted April 30, 2013 Share Posted April 30, 2013 ok jgirl i tried your website with my browsers and same problem the cart goes empty. so i used a clean computer to browse your website and same problem. wow now Prestasho Frantic got it working fine. i have seen people trying different things and got it working fine which means this new code of prestshop is unstable let me see where the fault lies. Link to comment Share on other sites More sharing options...
taoufiqaitali Posted October 25, 2013 Share Posted October 25, 2013 Hi i try this and it work for me 1 disable cache for smarty and activate force compile 2 refresh front of the shop (F5) 3 activate cache again and that's it Regards, Taoufiq Link to comment Share on other sites More sharing options...
shacker Posted October 25, 2013 Share Posted October 25, 2013 Hi i try this and it work for me 1 disable cache for smarty and activate force compile 2 refresh front of the shop (F5) 3 activate cache again and that's it Regards, Taoufiq thanks for sharing Link to comment Share on other sites More sharing options...
Recommended Posts