You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get the updated information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Create a Sample Coupon
As an illustration, let us create a sample promotion and generate 100 coupons for it. These coupons will be redeemed for orders placed by first-time customers. The promotion will offer a 50% discount for all orders between 18 and 22 May 2019.
Create a Promotion
As coupons should always be linked to promotions, the first step is to create a new promotion:
Navigate to Marketing > Promotions > Promotions in the main menu.
Click Coupons Actions > Create Promotion on the top right.
In the form that opens, specify the discount details and items, making sure that the Triggered by field is set to Coupons and Conditions.
The sample promotion is called Summer Sale, and the discount options are 50% off all orders
Click Save and Close.
Next, generate coupons for this promotion:
Navigate to Marketing > Promotions > Coupons in the main menu.
Click Coupons Actions > Generate Multiple Coupons.
In the pop up that opens, specify the details of the coupons, making sure that the Coupon Quantity is set to 100 and the coupons are linked to the newly created Summer Sale promotion.
Click Generate once all the details are provided.
Add Coupons to an Order
Now that the promotion has been created and coupons generated, we can add a coupon to the order that fits the conditions of the discount.
Navigate to Sales > Orders in the main menu.
Select the relevant order and click on it once to open.
Click Add Coupon Code on the top right of the order page.
Select the coupon from the list, click Add and then Apply.
The coupon for 50% off is now applied to the order.
In their storefront account, the customer will be able to see the discount applied to their order in the Order History menu.