We have following situation on Magento 18.104.22.168 installation (ultimo theme) with multistore setup as websites in subfolders, e.g. domain.com/en-ca, etc..
Add to cart works when on the default website (domain.com) but not when using a website in the subfolder, e.g. domain.com/en-ca/
-Add to cart works when a user is logged in. -Same problem on staging and live domain (same hosting environment) -Share customer accounts set to global.
No erros are reported in system log. Cookie setting as follows:
- Cookie Lifetime: 86400
- Cookie Path: /
- Cookie domain: staging.domain.com
- Http only: yes Cookie restriction mode: No
Frontend session cookies are carried over when trying to add something to the cart, but cart remains empty. If leaving Cookie Path and Cookie domain field empty: Cookie is set in path /en-ca when checking browser dev tools.
Form-key validation should not cause this because it works on default website? I suspect it is due to the multi-store setup as it works on default site. However, all else on multistore seems to work.