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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form