I have a requirement to check the user email domain then make discount. Example: A guest use [email protected] , when detect "@gmail.com" domain then enjoy 20% discount.
I have a requirement to check the user email domain then make discount. Example: A guest use [email protected] , when detect "@gmail.com" domain then enjoy 20% discount.
1. Create a new Customer Role (ie. GMailDiscount) 2. Use custom code to assign that Role to a Customer if their email is like @gmail.com 3. Create a Discount with a "Must Be Assigned To Customer Role" Requirement. Choose GMailDiscount as the Role for the requirement.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.