Automatic Coupons are a convenient way to provide a discount for a group of people within a certain role without having to give out multiple coupon codes or requiring the user to enter a code each time. For the example below we are creating a ‘Automatic Coupon’ for people with the role of ‘Staff Member’.
IMPORTANT NOTE: Setting up a role requires ABA to create a unique role under your account for that group of users. If you have not done so already please send an email requesting a new role be created for your website. ABA wll confirm when the role has been created. Ex.: Please create a new role of ‘Staff Member’ for my website. We will be creating a special discount coupon for those customers.
CREATE COUPON
Navigate to: Store > Coupons > Add New Coupon
- Enter ‘Coupon Name’ - Ex.: Staff Member Discount
- Enter ‘Coupon Code’ - Ex.: StaffDiscount
- Select the ‘Active’ button
- Enter the discount amount- Ex.: 20%
- Adjust the ‘Maximum number of redemptions (per code)’, for this example we went to leave it blank
- Find ‘Role Restrictions’, then confirm ‘Allow this coupon only for users with the roles listed below’ is selected.and Enter the role name Ex.: Staff Member
- Save Coupon
SET RULES AND CONDITIONS
Navigate to: Configuration > Workflow > Rules
- Select ‘Add New Rule’
- Enter the ‘Name’ - Ex.: Automatic Staff Discount
- Set the ‘React on Event’ to ‘Check for Automatic Discounts’
- Save
- Find your new rule in the list and select ‘edit”
- Select ‘Add Condition’
- Set the ‘Condition to Add’ to ‘User has role(s) and Continue
- Set the ‘User - Data Selector” to ‘current-order:customer’
- Choose the role
- Save changes
- Select “Add Action”
- Set the ‘Action to Add’ to ‘Apply a coupon to current order’ and continue
- Set the ‘Mode” to “Apply this coupon as an automatic discount.”
- Change the ‘Coupon Label” if you wish to customize it
- Save
You have now set the rules and conditions and may begin applying users to this role. Those users will then receive this discount automatically.
ASSIGNING A USER A ROLE
If this is a user who previously signed up, ask them for the email address associated with their account. If the user has never signed up, ask them to first sign up and provide you with the email address they use. You must know the email address associated with the user account in order to proceed with the steps below and successfully assign the user a role.
Navigate to: Store > Configuration > Store Roles
- Fill in the ‘User’ field with the email address of the user
- Change the ‘Role’ field to the appropriate choice
- Click ‘Assign Role’
You should see the user details appear in the list below. At this point you have assigned them the role, if they were previously logged in while you we’re assigning them a role they should log out and log back in to gain any special permissions their new role provides (in this example a 20% discount applied to their subtotal).