Maximum quantity per order magento not per product The Next CEO of Stack OverflowHow to retrieve Maximum Qty Allowed in Shopping Cart in codeMagento: Limit Product Max Quantity Per Customer (NOT per Order)changing default quantity of magento's grouped product from 0 to 1Limit cart quantity of bundled productMagento 2 - How to set a maximum order qty of individual products?Change Maximum Qty Allowed in Shopping Cart programmaticalyUpdating minimum order quantity (Front End View)Add Product Quantity in Magento Order Item in Admin PanelSet product stock quantity after uncancelling orderMagento 1.9.2.4 - Minimum Quantity per product or per option of particular product

Reference request: Grassmannian and Plucker coordinates in type B, C, D

What connection does MS Office have to Netscape Navigator?

Defamation due to breach of confidentiality

Help/tips for a first time writer?

Does Germany produce more waste than the US?

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

In the "Harry Potter and the Order of the Phoenix" videogame, what potion is used to sabotage Umbridge's speakers?

What CSS properties can the br tag have?

What difference does it make using sed with/without whitespaces?

what's the use of '% to gdp' type of variables?

0-rank tensor vs vector in 1D

How to properly draw diagonal line while using multicolumn inside tabular environment?

Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank

Regression vs Random Forest - Combination of features

Where do students learn to solve polynomial equations these days?

How do I fit a non linear curve?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Can I calculate next year's exemptions based on this year's refund/amount owed?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Can you teleport closer to a creature you are Frightened of?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

What was the first Unix version to run on a microcomputer?

Can I board the first leg of the flight without having final country's visa?

Purpose of level-shifter with same in and out voltages



Maximum quantity per order magento not per product



The Next CEO of Stack OverflowHow to retrieve Maximum Qty Allowed in Shopping Cart in codeMagento: Limit Product Max Quantity Per Customer (NOT per Order)changing default quantity of magento's grouped product from 0 to 1Limit cart quantity of bundled productMagento 2 - How to set a maximum order qty of individual products?Change Maximum Qty Allowed in Shopping Cart programmaticalyUpdating minimum order quantity (Front End View)Add Product Quantity in Magento Order Item in Admin PanelSet product stock quantity after uncancelling orderMagento 1.9.2.4 - Minimum Quantity per product or per option of particular product










2















I want to set maximum quantity per order not per product. I tried to set the
System->Configuration->Catalog->Inventory->Maximum Qty Allowed in Shopping Cart to 3, as per requirement only 3 item per order, The problem is when I tried to add 9 items 3 per product it is allowed. What I want is just to set 3 on whole cart regardless of item.
Does anyone know a way to achieve this? Thanks










share|improve this question














bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    2















    I want to set maximum quantity per order not per product. I tried to set the
    System->Configuration->Catalog->Inventory->Maximum Qty Allowed in Shopping Cart to 3, as per requirement only 3 item per order, The problem is when I tried to add 9 items 3 per product it is allowed. What I want is just to set 3 on whole cart regardless of item.
    Does anyone know a way to achieve this? Thanks










    share|improve this question














    bumped to the homepage by Community 15 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      2












      2








      2








      I want to set maximum quantity per order not per product. I tried to set the
      System->Configuration->Catalog->Inventory->Maximum Qty Allowed in Shopping Cart to 3, as per requirement only 3 item per order, The problem is when I tried to add 9 items 3 per product it is allowed. What I want is just to set 3 on whole cart regardless of item.
      Does anyone know a way to achieve this? Thanks










      share|improve this question














      I want to set maximum quantity per order not per product. I tried to set the
      System->Configuration->Catalog->Inventory->Maximum Qty Allowed in Shopping Cart to 3, as per requirement only 3 item per order, The problem is when I tried to add 9 items 3 per product it is allowed. What I want is just to set 3 on whole cart regardless of item.
      Does anyone know a way to achieve this? Thanks







      magento-1.9 cart shopping-cart






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 28 '15 at 17:04









      ron24ron24

      766




      766





      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I already found alternative on this. My scenario is i want to limit the order in 5 quantity only. I dont know if it is the right way but it is working to me.



          Go to appcodecoreMageCheckoutcontrollersOnepageController.php



          in function indexAction() put below code;



          $count = Mage::helper('checkout/cart')->getSummaryCount();
          if (abs($count) > 5)
          Mage::getSingleton('checkout/session')->addError($this->__('You have exceed the maximum quantity for this order. Maximum quantity per order is 5.'));
          $this->_redirect('checkout/cart');
          return;






          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%2f91938%2fmaximum-quantity-per-order-magento-not-per-product%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














            I already found alternative on this. My scenario is i want to limit the order in 5 quantity only. I dont know if it is the right way but it is working to me.



            Go to appcodecoreMageCheckoutcontrollersOnepageController.php



            in function indexAction() put below code;



            $count = Mage::helper('checkout/cart')->getSummaryCount();
            if (abs($count) > 5)
            Mage::getSingleton('checkout/session')->addError($this->__('You have exceed the maximum quantity for this order. Maximum quantity per order is 5.'));
            $this->_redirect('checkout/cart');
            return;






            share|improve this answer





























              0














              I already found alternative on this. My scenario is i want to limit the order in 5 quantity only. I dont know if it is the right way but it is working to me.



              Go to appcodecoreMageCheckoutcontrollersOnepageController.php



              in function indexAction() put below code;



              $count = Mage::helper('checkout/cart')->getSummaryCount();
              if (abs($count) > 5)
              Mage::getSingleton('checkout/session')->addError($this->__('You have exceed the maximum quantity for this order. Maximum quantity per order is 5.'));
              $this->_redirect('checkout/cart');
              return;






              share|improve this answer



























                0












                0








                0







                I already found alternative on this. My scenario is i want to limit the order in 5 quantity only. I dont know if it is the right way but it is working to me.



                Go to appcodecoreMageCheckoutcontrollersOnepageController.php



                in function indexAction() put below code;



                $count = Mage::helper('checkout/cart')->getSummaryCount();
                if (abs($count) > 5)
                Mage::getSingleton('checkout/session')->addError($this->__('You have exceed the maximum quantity for this order. Maximum quantity per order is 5.'));
                $this->_redirect('checkout/cart');
                return;






                share|improve this answer















                I already found alternative on this. My scenario is i want to limit the order in 5 quantity only. I dont know if it is the right way but it is working to me.



                Go to appcodecoreMageCheckoutcontrollersOnepageController.php



                in function indexAction() put below code;



                $count = Mage::helper('checkout/cart')->getSummaryCount();
                if (abs($count) > 5)
                Mage::getSingleton('checkout/session')->addError($this->__('You have exceed the maximum quantity for this order. Maximum quantity per order is 5.'));
                $this->_redirect('checkout/cart');
                return;







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 2 '15 at 20:32









                Julien Lachal

                1,3331328




                1,3331328










                answered Nov 29 '15 at 17:15









                ron24ron24

                766




                766



























                    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%2f91938%2fmaximum-quantity-per-order-magento-not-per-product%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

                    Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                    Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

                    Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»