简体   繁体   中英

Magento 1.9 cart not working in IE

I have a fresh install of Magento 1.9 from the Bitnami stack. Adding a product to the cart doesn't work in any version of IE , even 10 and 11. After clicking the Add to cart button it goes to the cart page but it the cart is empty. No errors are being shown in the JS console. Using FF works. Has anyone come across this with IE and Magento 1.9 ?

我将System->Configuration->Web的基本url从localhost更改为我的本地IP地址,现在可以使用了。

This is happening because cookies are not getting set when you are using the IE. AS IE and chrome does not treat the localhost as a valid domain.

When you use IP address that is treated as valid domain and cookies are set.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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