Magento 1.9购物车无法在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
?
我从 Bitnami code全新安装
Magento 1.9 code> >堆栈。 将产品添加到购物车不能在任何版本的
IE code>中使用,甚至10和11.点击
添加到购物车 code>按钮后,它会转到购物车页面,但它 购物车是空的。
JS code>控制台中没有显示任何错误。 使用
FF code>工作。 有没有人遇到过这个
IE code>和
Magento 1.9 code>? p>
div>
I changed the base url in System->Configuration->Web
from localhost
to my local IP
address and it works now.
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.