pontelamoda Posted July 3, 2013 Share Posted July 3, 2013 Hello friends, Im writing to you to ask some questions about a glitch that Im getting in my site. Sometimes (around 10% of the time) when people access my site for the very first time, and they try to shop, click the buy button, the dialog of pay or keep shopping appears and they click pay, after a moment it goes to order-opc and shows a message stating that the cart is empty. Im running prestashop 1.5.2, for some technical reasons I cant update because of the customizations I did to my site. I build a style test that let's people get customized products recommendations in the sliders, build a costume payment method, etc. Is there a way to know what exactly was changed to fix this issue in prestashops the last update? To fix the issue we tried: Forcing the blockcart ajax code to add the cookie manually. Enabling / disabling SSL and Url_Rewrite. Changing the site domain to pontelamoda.com and www.pontelamoda.com. Deleting all the cookies. Forcing ajax-cart.js to run expand(). In general, the product is usually added to the page, but fails to remain throughout the session. So im very interested in hearing your opinions about this problem and if you guys can tell me about a solution. Thanks Link to comment Share on other sites More sharing options...
ps_developer Posted July 5, 2013 Share Posted July 5, 2013 Hi, have a look to this post: http://www.prestashop.com/forums/topic/196274-solved-bug-prestashop-14x-ajax-cart-emptied-sometimes-when-moving-to-another-page/page__fromsearch__1 Your issue seems pretty much similar to the one I debugged and fixed last year. When I looked to this it was not yet fixed on any newer Prestashop branch. However I also raised the following issue: http://forge.prestashop.com/browse/PSCFI-6806 And from the comments the Prestashop guys they might have a fix already. I haven't really checked whether their fix would fix my issue or not. I did my own fix at that time, relatively simple one. If you want to get my source code I'm about to upload the full project here: https://github.com/ociohogar/trial_software But it is not there yet, so I could send you the source code changes I made. Rgds, Roberto. Hi, have a look to this post: http://www.prestashop.com/forums/topic/196274-solved-bug-prestashop-14x-ajax-cart-emptied-sometimes-when-moving-to-another-page/page__fromsearch__1 Your issue seems pretty much similar to the one I debugged and fixed last year. When I looked to this it was not yet fixed on any newer Prestashop branch. However I also raised the following issue: http://forge.prestashop.com/browse/PSCFI-6806 And from the comments the Prestashop guys they might have a fix already. I haven't really checked whether their fix would fix my issue or not. I did my own fix at that time, relatively simple one. If you want to get my source code I'm about to upload the full project here: https://github.com/ociohogar/trial_software But it is not there yet, so I could send you the source code changes I made. Rgds, Roberto. 1 Link to comment Share on other sites More sharing options...
pontelamoda Posted July 6, 2013 Author Share Posted July 6, 2013 Thank you very much Roberto, I will check does posts and let you know how it goes. Please send me the source code. My email will go in a private message. Thanks a lot, it really means a LOT to me your advice. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now