cancel
Showing results for 
Search instead for 
Did you mean: 

Apply/change sales rule discount programmatically based on customer group

Highlighted

Apply/change sales rule discount programmatically based on customer group

Is there any way to apply a global discount dynamically based on the customer group.

Eg. Customer A belongs to Group1 and defines global sales discount 10% when he logs in and add products to the cart.

Customer B belongs to Group2 and defines global sales discount 5% when he logs in and adds products to the cart.

Also this discount should be displayed everywhere cart/invoice/shipment.

I have checked several link but all are custom discount like Custom Discount 

Would like to change sales discount on the fly based on customer logged in.

2 REPLIES 2
Highlighted

Re: Apply/change sales rule discount programmatically based on customer group

Hi @zaheerbadi,

 

You can create multiple cart price rules without code specific to customer groups. 

 

https://docs.magento.com/user-guide/marketing/price-rules-cart-create.html

 

Using these rules your different customer groups customers will get different discounts.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Highlighted

Re: Apply/change sales rule discount programmatically based on customer group

Worldwide Cosmetics and Beauty Brand

Driving worldwide restorative and excellence brand with over €2bn in yearly incomes drew closer GSG so as to advance their coupon procedure in France. With a value delicate crowd, coupons has consistently assumed a significant job for their online business. Be that as it may, they needed to adjust in-store upselling techniques to their online store and increment spending from their keen customer portion.

GSG prescribed their Dynamic.Coupons answer for drive focused on coupon battles. The fundamental target of the battle was to demonstrate a motivator for clients to add an additional item to their crate. With the Dynamic.Coupons live, the Total Order Value expanded by 190.46%. Transformation improved by 35.59%, and the quantity of Transactions shot through the rooftop at an expansion of 219.9%.