0

enter image description hereMagento 2 how to add products into the cart without loading page and I need to check every time quantity in DB and after adding the product into cart the product quantity must be reduced and check it

  • can you explain it a bit more? – Manish Joy Sep 21 '18 at 12:05
  • you can add product to cart using programming, you need to used those things. – Dhiren Vasoya Sep 21 '18 at 12:05
  • You can find your answer here magento.stackexchange.com/questions/190369/…. If you don't want to reload the page, do it using ajax – Manish Joy Sep 21 '18 at 12:08
  • As when i add product to mini cart page its taking onload(loading) and then its adding product. As my req is that when we add product to mini cart it must check quantity in db and must add. Product quantity in backend is1 and if we select 2 quantity in frontend then input box must be disable.because i am using Minimum Qty Allowed in Shopping Cart concept – trilok kumar Sep 21 '18 at 12:10
0

add with in script

{ "[data-role=tocart-form], .form.map.checkout": { "catalogAddToCart": { "bindSubmit": true } } }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.