cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 : How to add custom discount Programatically ?

Magento 2 : How to add custom discount Programatically ?

Hello Community,

I need to apply custom custom discount in cart ?

There's option for applying this in M1. Check here.https://stackoverflow.com/questions/24308094/magento-dynamically-change-discount-cost-in-cart


How can i do same thing in M2 ??

Thanks in Advance.

1 REPLY 1

Re: Magento 2 : How to add custom discount Programatically ?

Hello @zero_cool 

 

Please refer the steps at How to Programmatically Add Custom Discount in Magento 2 for the solution.

 

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"