|
Hi,
When I click on update shopping cart button in IE 7, Products in shopping cart are removed.
There comes a message that you don’t have any product in you cart.
This problem is only in IE 7.
Please help me to fix this.
Thanks
I fixed this by replacing the javascript in cart.phtml
<td colspan="50" class="a-right"> <?php if($this->getContinueShoppingUrl()): ?> <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo Mage::getBaseUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button> <?php endif; ?>
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span> </button>
<button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('Clear Shopping Cart'); ?>" class="button btn-empty" id="empty_cart_button" onclick="return confirm('<?php echo $this->__('Are you sure you would like to clear the shopping cart?') ?>');"><span><span><?php echo $this->__('Clear Shopping Cart'); ?></span></span> </button>
<!--[if lt IE 8]> <script src="https://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script> <![endif]--> </td>
|