Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

When I click on update shopping cart button in IE 7, Products in shopping cart are removed. 
 
muk_t
Sr. Member
 
Total Posts:  226
Joined:  2012-07-24
 

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>
 
Magento Community Magento Community
Magento Community
Magento Community
 
tzyganu
Mentor
 
Avatar
Total Posts:  2205
Joined:  2009-11-18
Bucharest, Romania
 

Can you provide a link to your website so I (we) can test?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top