Magento 1.9.2.4 randomly (seemingly) doubling product quantities The 2019 Stack Overflow Developer Survey Results Are InAdd new column in sales order grid table in admin magentoMultiple Items but want one SKU for all Item which fall under same categoryMagento duplicate the product getting innodb lock timeout errorMagento reorder misbehaveMagento error in backend when i enter the categories pageMagento Frontend shows X items in one category, but most are not visible!Editing Order instead of creating a new Order1.9 - Not all products showing on frontendRandom missing product name in random ordersApply discount on cart
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Worn-tile Scrabble
What is this business jet?
Mathematics of imaging the black hole
Falsification in Math vs Science
Does HR tell a hiring manager about salary negotiations?
What do hard-Brexiteers want with respect to the Irish border?
Why is the maximum length of OpenWrt’s root password 8 characters?
Why does the nucleus not repel itself?
Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?
"as much details as you can remember"
Can a flute soloist sit?
Can we generate random numbers using irrational numbers like π and e?
How did passengers keep warm on sail ships?
How to display lines in a file like ls displays files in a directory?
Loose spokes after only a few rides
Button changing its text & action. Good or terrible?
How do you keep chess fun when your opponent constantly beats you?
Why not take a picture of a closer black hole?
Can there be female White Walkers?
Pokemon Turn Based battle (Python)
How to notate time signature switching consistently every measure
How to translate "being like"?
Is it a good practice to use a static variable in a Test Class and use that in the actual class instead of Test.isRunningTest()?
Magento 1.9.2.4 randomly (seemingly) doubling product quantities
The 2019 Stack Overflow Developer Survey Results Are InAdd new column in sales order grid table in admin magentoMultiple Items but want one SKU for all Item which fall under same categoryMagento duplicate the product getting innodb lock timeout errorMagento reorder misbehaveMagento error in backend when i enter the categories pageMagento Frontend shows X items in one category, but most are not visible!Editing Order instead of creating a new Order1.9 - Not all products showing on frontendRandom missing product name in random ordersApply discount on cart
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
So for some reason magento is randomly doubling some items.
Some times its one item, sometimes its all of them. If we reorder from the admin, it then shows the correct quantity (in this case, 24), but the customer actually ordered and wanted 12. Any ideas where to start?
magento-1.9
add a comment |
So for some reason magento is randomly doubling some items.
Some times its one item, sometimes its all of them. If we reorder from the admin, it then shows the correct quantity (in this case, 24), but the customer actually ordered and wanted 12. Any ideas where to start?
magento-1.9
add a comment |
So for some reason magento is randomly doubling some items.
Some times its one item, sometimes its all of them. If we reorder from the admin, it then shows the correct quantity (in this case, 24), but the customer actually ordered and wanted 12. Any ideas where to start?
magento-1.9
So for some reason magento is randomly doubling some items.
Some times its one item, sometimes its all of them. If we reorder from the admin, it then shows the correct quantity (in this case, 24), but the customer actually ordered and wanted 12. Any ideas where to start?
magento-1.9
magento-1.9
edited yesterday
Muhammad Anas
550317
550317
asked May 9 '17 at 17:18
Brian ChaneyBrian Chaney
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
We had the similar problem - some orders were with doubled total i.e. a customer ordered 10 items but was charged for 20.
Might not be exactly your problem but at least you can start with it.
In our case our custom checkout extension was adding more than 2 addresses to a quote.
We fixed it in app/code/core/Mage/Checkout/Model/Cart.php
function init()
around line 145 add this code:
if (count($addresses) > 2)
for($i = 2; $i < count($addresses); $i++)
$address = $addresses[$i];
$address->isDeleted(true);
Watch for duplicate address and remove it if needed.
Of course copy app/code/core/Mage/Checkout/Model/Cart.php
to app/code/local/Mage/Checkout/Model/Cart.php
to follow Magento best practices.
To see what quotes have more than two addresses assigned to it you can run this SQL query:
select quote_id from sales_flat_quote_address group by quote_id having count(address_id) > 2;
If output is non empty you have people now in your site having double checkout sums.
Go through every quote and delete unneeded addresses keeping only two per quote: one shipping and one billing.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f173684%2fmagento-1-9-2-4-randomly-seemingly-doubling-product-quantities%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
We had the similar problem - some orders were with doubled total i.e. a customer ordered 10 items but was charged for 20.
Might not be exactly your problem but at least you can start with it.
In our case our custom checkout extension was adding more than 2 addresses to a quote.
We fixed it in app/code/core/Mage/Checkout/Model/Cart.php
function init()
around line 145 add this code:
if (count($addresses) > 2)
for($i = 2; $i < count($addresses); $i++)
$address = $addresses[$i];
$address->isDeleted(true);
Watch for duplicate address and remove it if needed.
Of course copy app/code/core/Mage/Checkout/Model/Cart.php
to app/code/local/Mage/Checkout/Model/Cart.php
to follow Magento best practices.
To see what quotes have more than two addresses assigned to it you can run this SQL query:
select quote_id from sales_flat_quote_address group by quote_id having count(address_id) > 2;
If output is non empty you have people now in your site having double checkout sums.
Go through every quote and delete unneeded addresses keeping only two per quote: one shipping and one billing.
add a comment |
We had the similar problem - some orders were with doubled total i.e. a customer ordered 10 items but was charged for 20.
Might not be exactly your problem but at least you can start with it.
In our case our custom checkout extension was adding more than 2 addresses to a quote.
We fixed it in app/code/core/Mage/Checkout/Model/Cart.php
function init()
around line 145 add this code:
if (count($addresses) > 2)
for($i = 2; $i < count($addresses); $i++)
$address = $addresses[$i];
$address->isDeleted(true);
Watch for duplicate address and remove it if needed.
Of course copy app/code/core/Mage/Checkout/Model/Cart.php
to app/code/local/Mage/Checkout/Model/Cart.php
to follow Magento best practices.
To see what quotes have more than two addresses assigned to it you can run this SQL query:
select quote_id from sales_flat_quote_address group by quote_id having count(address_id) > 2;
If output is non empty you have people now in your site having double checkout sums.
Go through every quote and delete unneeded addresses keeping only two per quote: one shipping and one billing.
add a comment |
We had the similar problem - some orders were with doubled total i.e. a customer ordered 10 items but was charged for 20.
Might not be exactly your problem but at least you can start with it.
In our case our custom checkout extension was adding more than 2 addresses to a quote.
We fixed it in app/code/core/Mage/Checkout/Model/Cart.php
function init()
around line 145 add this code:
if (count($addresses) > 2)
for($i = 2; $i < count($addresses); $i++)
$address = $addresses[$i];
$address->isDeleted(true);
Watch for duplicate address and remove it if needed.
Of course copy app/code/core/Mage/Checkout/Model/Cart.php
to app/code/local/Mage/Checkout/Model/Cart.php
to follow Magento best practices.
To see what quotes have more than two addresses assigned to it you can run this SQL query:
select quote_id from sales_flat_quote_address group by quote_id having count(address_id) > 2;
If output is non empty you have people now in your site having double checkout sums.
Go through every quote and delete unneeded addresses keeping only two per quote: one shipping and one billing.
We had the similar problem - some orders were with doubled total i.e. a customer ordered 10 items but was charged for 20.
Might not be exactly your problem but at least you can start with it.
In our case our custom checkout extension was adding more than 2 addresses to a quote.
We fixed it in app/code/core/Mage/Checkout/Model/Cart.php
function init()
around line 145 add this code:
if (count($addresses) > 2)
for($i = 2; $i < count($addresses); $i++)
$address = $addresses[$i];
$address->isDeleted(true);
Watch for duplicate address and remove it if needed.
Of course copy app/code/core/Mage/Checkout/Model/Cart.php
to app/code/local/Mage/Checkout/Model/Cart.php
to follow Magento best practices.
To see what quotes have more than two addresses assigned to it you can run this SQL query:
select quote_id from sales_flat_quote_address group by quote_id having count(address_id) > 2;
If output is non empty you have people now in your site having double checkout sums.
Go through every quote and delete unneeded addresses keeping only two per quote: one shipping and one billing.
edited May 9 '17 at 18:19
answered May 9 '17 at 17:55
Konstantin GerasimovKonstantin Gerasimov
3,505830
3,505830
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f173684%2fmagento-1-9-2-4-randomly-seemingly-doubling-product-quantities%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown