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;








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 problem










share|improve this question






























    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 problem










    share|improve this question


























      0












      0








      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 problem










      share|improve this question
















      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 problem







      magento-1.9






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Muhammad Anas

      550317




      550317










      asked May 9 '17 at 17:18









      Brian ChaneyBrian Chaney

      1




      1




















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer

























            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
            );



            );













            draft saved

            draft discarded


















            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









            0














            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.






            share|improve this answer





























              0














              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.






              share|improve this answer



























                0












                0








                0







                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.






                share|improve this answer















                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.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 9 '17 at 18:19

























                answered May 9 '17 at 17:55









                Konstantin GerasimovKonstantin Gerasimov

                3,505830




                3,505830



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?