You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
when in 'Shopping Cart' web page with items in cart click 'Checkout' button and you get this message and the items are removed from the cart.
"Your shopping cart is currently empty. You will be able to check out after adding items to your shopping cart."
I read another recent post about this problem with a reply to update site to full ssl. My sites are full ssl but this hasn't made a difference
is there a code update for this cookie issue?
Offline
There is an issue with the current version of Chrome, where if you are running a mixed-URL site (Non-SSL and SSL), and first access (get a cookie) from an SSL URL (very rare, except for admins), you may run into a problem. You say you're running full SSL, so this should not be an issue for you. Can you post a URL so we can see the problem in action?
Offline
Offline
Hi Kev,
Mac running OSX 10.11 using Firefox 51. Checkout button takes me to the create account page like it should...
Chrome 52. also takes me to the Create account page from the cart checkout button.
Cheers,
Bruce.
Offline
Chrome 56 on Windows, and the problem does happen intermittently.
If you go to the site and then navigate back the home page before adding an item, you can checkout correctly.
However, if you go direct to site, add a product, the problem occurs.
Offline
Thanks for testing this issue west4 and zanart and verifying that it is a real issue!
As you say the problem does happen intermittently. A few regular customers made me aware of it so I tested it myself. Obviously there will be new customers and current customers that intend to place an order and then this happens and they just go elsewhere to buy stuff without even contacting me.
I hope that Nick can fix this issue because I can only assume that I am losing orders (revenue) because of this issue.
I think the problem is related to browser cookies but I don't know how to stop it from happening.
Offline
Is anyone seeing a much higher number of abandoned carts in the past 2 weeks? We are experiencing almost 300% increase in people starting but not finishing checkouts ("Pending Payment") recently and I am wondering if it could be related???
Offline
I converted 4 websites to full SSL a few weeks ago and orders have dropped significantly since then. The Europacart produced sitemaps are now https urls so the search engines should hopefully be replacing the old http urls with https equivalents.
Offline
Nick, can you post the mod required to turn v8 to full ssl??
Offline
There are two methods to combat this issue for all versions of the software V6-V8:
(1) Edit {private}/core/CORE_Session/CORE_Session.php and in the setcookie() function, always set secure to false. This is not recommended due to the fact that it's not PCI compliant, however this will work on sites which do not process cards under PCI.
(2) Switch the site to full SSL. To accomplish this, two updates are needed:
1. Run your installer.php script and change your Non-SSL URL and related cookie domain and path to match your SSL URL and cookie domain and path values. Run the installer up to and including the registration step, but there's no need to run it further. No need to update any software either. If both your URLs are similar (ie, vary only by http-vs-https or www-vs-nonwww) then there will be no need to contact Kryptronic regarding a URL change when you submit the new registered URL for the site.
2. Access your management interface using the new URL and then navigate to System / Database / Raw Database Admin, choose to Submit a Raw SQL Statement, and submit the following SQL statement:
UPDATE core_namespaces SET hreftype='SSL' WHERE hreftype='Non-SSL'
You can also do a http->https rewrite at the top of your .htaccess file if you wish, but be aware this is generally unnecessary on V8 as it will rewrite all those cases automatically.
Offline
I followed the steps in option (2) but the cookie issue with checkout is still evident.
run the below test scenario which will recreate the steps a new customer would use to access your website to purchase something.
open a browser (i used chrome because my server webstats show that 65.3% of visitors are using Chrome to access my website) choose 'clear browsing data' and clear all cookie data then
type in url https://www.mycompleteoffice.co.uk and proceed to add a product to basket then
in the shopping cart web page click the 'Checkout' button and look at the result - I get below result
'Your shopping cart is currently empty. You will be able to check out after adding items to your shopping cart.' At that point the customer will leave the website frustrated and think that website doesn't work properly and never come back so no new customer order or repeat orders from that customer.
I used to be a software developer albeit 16 years ago (Delphi long time ago in a distant galaxy) and would consider this bug as a top priority, serious business critical issue for an ecommerce app!
Will resorting to option (1) as a fix for this cookie issue produce non-secure web page warnings to users in browser interfaces?
Last edited by kev (03-11-2017 06:55:13)
Offline
I have cleared cache and cookies in chrome.
Gone to my site(which I haven't modified to full ssl yet, but the checkout pages are secure), and I don't have this issue following your steps above.
I have also tried your site, which is full SSL, and I don't have the issue either.
It definitely had a problem yesterday, but since you have carried out this mod, there are no issues that I can see, and I have tried numerous times.
Offline
We can confirm that #2 option works, and takes only a couple of minutes to implement.
If there are any shopping carts "out there" that were loaded when not under SSL, will they appear empty now when going to checkout or the cart page?
Offline
I've updated Chrome and ran another test and it did it again on my PC. This is driving me nuts...
"change your Non-SSL URL and related cookie domain and path to match your SSL URL and cookie domain and path values"
Perhaps I've got the installer settings wrong?
Non-Secure (Non-SSL) URL* = https://www.mycompleteoffice.co.uk
Secure (SSL) URL* = https://www.mycompleteoffice.co.uk
Non-Secure (Non-SSL) Cookie Domain* = .mycompleteoffice.co.uk
Non-Secure (Non-SSL) Cookie Path* = /
Secure (SSL) Cookie Domain* = .mycompleteoffice.co.uk
Secure (SSL) Cookie Path* = /
Microsoft browsers are fine and also now Firefox but Chrome is still giving me the empty cart issue!
Offline
kev wrote:
I've updated Chrome and ran another test and it did it again on my PC. This is driving me nuts...
Your site works fine using Chrome Version 57.0.2987.98 (64 bit) on a Mac.
Offline
Thanks larry
I'm gonna run some more tests on friends PCs
Offline
at the risk of revealing that we even own a copy of windows 10, we can confirm that your site works on the latest version of chrome on windows 10.
Offline
I'm running windows 7 64bit and wondered if that had anything to do with it. I'm glad that it runs on Mac's and other peoples computers as I was worried about lost sales revenue. I've got an old laptop running XP so I'll test it on that.
Offline
This may or may not be related - I feel it is - but when I open the back end to work in the store and open another browser tab (window, etc.) and try to log into the online store I cannot move from the login screen without getting kicked out. I have to log out of the back end, close that window and log out of the front end, then clear cookies before I can log into the front end to see my work.
I tried Nick's #1 mod above and it didn't work.
Offline
webmaster wrote:
You've got something wrong, likely with your cookie settings that are entered in your installer (they show up in the private config.php file).
I edited the config.php as you directed. I then ran the SQL statement. My Win 7 installation of Chrome now works whereas it didn't before.
I'll check my Win 10 installations later.
So far, Dilly Dilly!
Offline
My Win 10 machines work now too! Merry Christmas! Woo-Hoo!
Offline
Hello,
I have a similar problem; would this be normal?
Using Chrome under windows 7 64 bit, if I log in to the store backend (as admin) and then open up a separate window / tab for the store, then I am automatically logged in to the store using my admin user details. If I log out from the store I am automatically logged out of the backend.
In summary, I cannot be logged into the backend and the store at the same time.
Would this be normal?
Offline
Murphys001 wrote:
Hello,
I have a similar problem; would this be normal?
Using Chrome under windows 7 64 bit, if I log in to the store backend (as admin) and then open up a separate window / tab for the store, then I am automatically logged in to the store using my admin user details. If I log out from the store I am automatically logged out of the backend.
In summary, I cannot be logged into the backend and the store at the same time.
Would this be normal?
It is NOT normal. That's the whole point of this thread. I did what Nick suggested in his 2nd piece of advice above and it worked for me. Your other alternative is to create another user and give that one the same account type as you and use that account to log into the front end. It's a bit unwieldy when you want to "audition" a product or category.
Edit: I mesread your question. Sorry. :-)
Last edited by dskowron (12-28-2017 10:25:54)
Offline