1

In Magento 2 how we can get the product details using Magento_Checkout/js/model/quote

1

Use checkoutConfig.quoteData where you will get all the data for the product which is added to cart.

| improve this answer | |
  • could you please send me the full data how I can use. Is it like var quoteItemData = window.checkoutConfig.quoteItemData; – poornima Jul 7 at 10:51
  • Yes you can access the data from that variable – Tanmay Jul 7 at 11:12

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.