cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to create a promotion rule for all new customers

Former Member
0 Likes
555

I want to create promotion rule for all new customers, Can anyone give me an idea to how to achieve this.

my requirement is to create referral code for all new customers

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

usually this type of promotion should lure user to order with your site

a good scenario is when a customer does not have an order. so if customerModel.getOrders() is empty, then your customer is a new customer (so promotion will only be applied to the first order that a customer places)

vinay_malempati
Active Participant
0 Likes

It depends on how you define them, you can write your own rule condition to evaluate to true for a new customer. through adding a boolean attribute customerrao and populating it from customerraopopulator based on your criteria. For example (you can mark it to true if the customer is registered in last 6 months and havent yet placed any order so far or else false)

0 Likes

I have doubt, do we need to create a promotion engine extension to do this?