Warning: Your browser is very out-of-date. You should upgrade to a better browser.

Have recently encountered an issue with prices in Magento Checkout appearing doubled. There are a number of solutions online which seem to (in various combinations) do the trick.

A particular cause of the error seems to be when more than two addresses appear in the sales_flat_quote_address table.

Disable Third Party Checkouts

This seems to be the best solution, the issue predominantly happening when a third party one page checkout extension is in use.

Dave Boyce Solution

This code removes anything other than two addresses being pulled for a quote from the table sales_flat_quote_address. The quick fix goes in Mage\Checkout\Model\Cart.php.

In The Mage_Checkout_Model_Cart class init() function enter the code below the line: $this->getQuote()->setCheckoutMethod('');

$addresses = $this->getQuote()->getAllAddresses();
    
if (count($addresses) > 2) {
  for($i = 2; $i < count($addresses); $i++) {
    $address = $addresses[$i];
    $address->isDeleted(true);
  }
}

Multiple Address Checkout

It should also be check that under System > Configuration > Shipping Settings that “Maximum Qty Allowed for Shipping to Multiple Addresses” is set the value to “0”. The default is 100.

To fix, change “Allow shipping to multiple address” to “Yes” and Save. Then Set Allow Shipping to “No” and set Maximum Addresses to “0”. Click Save.

Magento

Magento is a feature-rich ecommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their ecommerce store.

About Magento Ecommerce · Magento Posts

Related Magento Posts

Magento December 2021

Optimising Magento 2 in Easy Steps

Some (fairly) simple step-by-step instructions to ensure your Magento 2 store is running the best it can. While most of these options should only require...
Magento September 2021

The Future of Magento

The [Mage Open Source Community Alliance](https://www.mage-os.community/) have published an open letter to the Magento community to announce a new initiative designed to focus on ensuring...
Magento July 2021

Magento 2 Blog Extensions

While Magento isn't the go-to platform for blogs it can be useful for store owners to have a quick and easy way to post updated...

More Magento Posts...