I want to save the discount amount of each applied cart rule in a column. I have created a column in the quote table and I have saved the applied rule names in the field using the sales_quote_save_before event.

I want to save the discount amount too. My required format is Rulename1-1000,Rulename2-2000

How can I do this?

  • does Rulename1-1000 stands for Rulename1 gives a discount of £1000 – Herve Tribouilloy Oct 3 '20 at 12:44
  • @HerveTribouilloy Yes – Jancy Abraham Oct 7 '20 at 11:30
  • there was a bounty for this question? – Herve Tribouilloy Oct 7 '20 at 11:36
  • @HerveTribouilloy yes – Jancy Abraham Oct 7 '20 at 11:37

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.