0

I have an order with an Item having some special price on it. I want to know whether if it's Product's special price, tier price or any catalog rule promotion price. Reason for asking this question is I send this data to some third party to generate the report on basis of promotions(special price, tier price or catalog rule special price). I want to achieve it by writing a code in magento2. Can anyone help out in this?

  • You can check in the quote and quote item table, there you will find applied_coupon field values. HOpe this will help you. – Nits Nov 28 '19 at 6:17
  • Thanks @Nits for the quick reply . I can easily get the cart rule discount from the quote tables. I want the discounts on the basis of product special price, tier price or catalog rule discounts. – Prats Magento Nov 28 '19 at 6:19
  • I've been looking into this as well and largely come up short. I found this though - github.com/magento/magento2/issues/19858 – ChaosTheoryV2X Dec 3 '19 at 21:57

Your Answer

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

Browse other questions tagged or ask your own question.