How to add Qty Input to product list WIDGETHow to add Qty in add to cart form on Product Listings Page in Magento 2Add to Cart overlapping Product Price - How to fix? (Magento Product List Widget)add validation on qty box added with add to cart button on product list?How to enable AJAX for the the 'Add to Cart' button of product widgets in Magento 2?Remove store code from Catalog Product Link WidgetHow to add Qty in add to cart form on Product Listings Page in Magento 2How to add Qty Field on Product Listings Page in Magento 2add buy now button in homepage widget products list magento 2Using product list widget to just show price?How to use Product Chooser Widget with UI Component FormCustom add to cart button results in 'We can't find product error'

Redundant comparison & "if" before assignment

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

putting logo on same line but after title, latex

How could a planet have erratic days?

Do the primes contain an infinite almost arithmetic progression?

Terse Method to Swap Lowest for Highest?

What is Cash Advance APR?

How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?

How can I write humor as character trait?

How to fade a semiplane defined by line?

Can I still be respawned if I die by falling off the map?

Non-trope happy ending?

A social experiment. What is the worst that can happen?

Does IPv6 have similar concept of network mask?

How much character growth crosses the line into breaking the character

How to explain what's wrong with this application of the chain rule?

Are Captain Marvel's powers affected by Thanos' actions in Infinity War

Why would a new[] expression ever invoke a destructor?

What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?

Calculating total slots

Calculate sum of polynomial roots

How does a computer interpret real numbers?

Why did the EU agree to delay the Brexit deadline?

Store Credit Card Information in Password Manager?



How to add Qty Input to product list WIDGET


How to add Qty in add to cart form on Product Listings Page in Magento 2Add to Cart overlapping Product Price - How to fix? (Magento Product List Widget)add validation on qty box added with add to cart button on product list?How to enable AJAX for the the 'Add to Cart' button of product widgets in Magento 2?Remove store code from Catalog Product Link WidgetHow to add Qty in add to cart form on Product Listings Page in Magento 2How to add Qty Field on Product Listings Page in Magento 2add buy now button in homepage widget products list magento 2Using product list widget to just show price?How to use Product Chooser Widget with UI Component FormCustom add to cart button results in 'We can't find product error'













1















How can you add Qty Input to product list Widget in Magento 2.
(not the the product list page as described here)



  1. I have added a product list widget to a CMS page like by clicking on the insert widget button and filling in the widget form.


  2. This adds the Product List to the CMS page.


  3. I would like it to include a QTY input so the user cans select how many products they wish to add to the cart...


I'm able to add the QTY input by adding the code below to here.



It appears fine, but the issue is that it does not add the select qty by the user, it only ever adds one item at a time.



This seems to be because of how the button is adding the item to the cart...



<button class="action tocart primary" data-post="&quot;action&quot;:&quot;https://example.com/checkout/cart/add/uenc/aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg%2C%2C/product/39/&quot;,&quot;data&quot;:&quot;product&quot;:&quot;39&quot;,&quot;uenc&quot;:&quot;aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg,,&quot;" type="button" title="Add to Cart">
<span>Add to Cart</span>
</button>


Any idea of how I can update the product list widget so that it can have a qty field which works.










share|improve this question


























    1















    How can you add Qty Input to product list Widget in Magento 2.
    (not the the product list page as described here)



    1. I have added a product list widget to a CMS page like by clicking on the insert widget button and filling in the widget form.


    2. This adds the Product List to the CMS page.


    3. I would like it to include a QTY input so the user cans select how many products they wish to add to the cart...


    I'm able to add the QTY input by adding the code below to here.



    It appears fine, but the issue is that it does not add the select qty by the user, it only ever adds one item at a time.



    This seems to be because of how the button is adding the item to the cart...



    <button class="action tocart primary" data-post="&quot;action&quot;:&quot;https://example.com/checkout/cart/add/uenc/aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg%2C%2C/product/39/&quot;,&quot;data&quot;:&quot;product&quot;:&quot;39&quot;,&quot;uenc&quot;:&quot;aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg,,&quot;" type="button" title="Add to Cart">
    <span>Add to Cart</span>
    </button>


    Any idea of how I can update the product list widget so that it can have a qty field which works.










    share|improve this question
























      1












      1








      1








      How can you add Qty Input to product list Widget in Magento 2.
      (not the the product list page as described here)



      1. I have added a product list widget to a CMS page like by clicking on the insert widget button and filling in the widget form.


      2. This adds the Product List to the CMS page.


      3. I would like it to include a QTY input so the user cans select how many products they wish to add to the cart...


      I'm able to add the QTY input by adding the code below to here.



      It appears fine, but the issue is that it does not add the select qty by the user, it only ever adds one item at a time.



      This seems to be because of how the button is adding the item to the cart...



      <button class="action tocart primary" data-post="&quot;action&quot;:&quot;https://example.com/checkout/cart/add/uenc/aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg%2C%2C/product/39/&quot;,&quot;data&quot;:&quot;product&quot;:&quot;39&quot;,&quot;uenc&quot;:&quot;aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg,,&quot;" type="button" title="Add to Cart">
      <span>Add to Cart</span>
      </button>


      Any idea of how I can update the product list widget so that it can have a qty field which works.










      share|improve this question














      How can you add Qty Input to product list Widget in Magento 2.
      (not the the product list page as described here)



      1. I have added a product list widget to a CMS page like by clicking on the insert widget button and filling in the widget form.


      2. This adds the Product List to the CMS page.


      3. I would like it to include a QTY input so the user cans select how many products they wish to add to the cart...


      I'm able to add the QTY input by adding the code below to here.



      It appears fine, but the issue is that it does not add the select qty by the user, it only ever adds one item at a time.



      This seems to be because of how the button is adding the item to the cart...



      <button class="action tocart primary" data-post="&quot;action&quot;:&quot;https://example.com/checkout/cart/add/uenc/aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg%2C%2C/product/39/&quot;,&quot;data&quot;:&quot;product&quot;:&quot;39&quot;,&quot;uenc&quot;:&quot;aHR0cHM6Ly9xYS5zYW1tY2NhdWxleS5jb20vdGVzdC1wYWdlMg,,&quot;" type="button" title="Add to Cart">
      <span>Add to Cart</span>
      </button>


      Any idea of how I can update the product list widget so that it can have a qty field which works.







      magento2 widgets magento2.3.0 qty






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      HollyHolly

      2,35233377




      2,35233377




















          1 Answer
          1






          active

          oldest

          votes


















          0














          by default luma theme don't allow to add qty .. you can try other theme..






          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%2f266850%2fhow-to-add-qty-input-to-product-list-widget%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














            by default luma theme don't allow to add qty .. you can try other theme..






            share|improve this answer



























              0














              by default luma theme don't allow to add qty .. you can try other theme..






              share|improve this answer

























                0












                0








                0







                by default luma theme don't allow to add qty .. you can try other theme..






                share|improve this answer













                by default luma theme don't allow to add qty .. you can try other theme..







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                Aadii MughalAadii Mughal

                406




                406



























                    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%2f266850%2fhow-to-add-qty-input-to-product-list-widget%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

                    Sum ergo cogito? 1 nng

                    419 nièngy_Soadمي 19bal1.5o_g

                    Queiggey Chernihivv 9NnOo i Zw X QqKk LpB