简体   繁体   English

Magento 2.1添加到购物车不适用于多站点

[英]Magento 2.1 Add To cart not working on multisite

I have magento 2.1 installed and configured properly to work with 2 different domains using multi-site feature. 我已经安装并正确配置了magento 2.1,以使用多站点功能与2个不同的域一起使用。

Everything works fine, except Add to cart feature. 除“ 添加到购物车”功能外,其他所有功能均正常运行。 Whenever I am adding something to cart on secondary websites, its not being added to cart. 每当我在二手网站上向购物车中添加商品时,就不会将其添加到购物车中。 However I am getting message that 'Item added to cart' 但是我收到消息“商品已添加到购物车”

I checked cookie domain and tried everything, but it is not working 我检查了Cookie域并尝试了所有操作,但无法正常工作

Does anybody have any idea? 有人知道吗?

One of the Reason for product not add to cart if you have not Enable cache. 如果您尚未启用缓存,则产品未添加到购物车的原因之一。

If cache is disable notification is display 'Item added to cart', but cart does not store product 如果禁用了缓存,则会显示“项目已添加到购物车”通知,但购物车未存储产品

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM