Is there any way to get list of all coupon codes which are available to the cart will be displayed in the Cart Page ?

1 Answer 1


Seems that we cannot apply multi coupon codes for cart by default Magento. If we want to get the coupon code base on the quote checkout session:

/** @var \Magento\Checkout\Model\Session $checkoutSession */

In database, we can find it in table quote table.

  • Hi Khoa TruongDinh. I was trying to achieve like PayTm. Where All the Available Coupons will be displayed and End user can select only one at a time. I was trying to add code in Cart Page. But no Luck.
    – Raghav
    Apr 11, 2018 at 14:08
  • Your idea looks good to me. We need to check all applicable sales rules. And then, we get the coupon codes of each sale rule. Let me check. Apr 11, 2018 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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