-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Ensure that cookies and localstorage are functional cross subdomains.
The ID storage entries (ssUserId, ssSessionId, ssPageLoadId, etc...) should all be functional and work as expected. However, the viewedProducts and cartProducts may need some adjustments. Need to think through use cases where subdomains would be used and adjust logic accordingly.
One example would be that the checkout is on a different subdomain - if the checkout subdomain resets the cartProducts (empties them) - will this change be picked up by the store domain? It would save the change to the localStorage and cookie, but only the cookie would be accessibly by the non-checkout domain - however, we are favoring localStorage (reading from it first) - so the likely outcome is that the emptying of the cartProducts would not be picked up.