I am using Wix Stores for my eCommerce website on Wix. I want to have users sign in before they can checkout. For this, I am following the approach mentioned on Wix’s support page here: https://support.wix.com/en/article/wix-stores-requiring-customers-to-sign-up-before-making-purchases
The problem I am having is that, suppose a customer placed a few items into their cart before logging in and when they navigate to the cart page they are asked to sign up/login. This is fine, however, the issue is that after they do the cart becomes empty. And if you sign out, the items re-appear in the cart.
Something weird is happening with the user’s session. This makes for a bad experience for a new customer trying to make a purchase. Will need to somehow maintain a guest user session’s cart.
Can someone help me with a resolution or a workaround? Perhaps can be done using code in Velo? Any help is appreciated. Thanks!