ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
Purchase product X and receive a coupon for Y amount/percent
Products in category X discounted by Y amount if customer has a subscription to product Z Put a product on sale
Location Home > Shopping Cart Software Components > Administration Area > Modules > Event Engine > FAQs & Tutorials

Purchase product X and receive a coupon for Y amount/percent

This tutorial explains how to create an event that is triggered by the purchase of a specific product, and that has the result of creating a coupon code that the customer may redeem in a later order.

Overview
  • When the product is purchased, the shopping cart will generate a new coupon code and display it on the checkout receipt page and in the order receipt email. The new coupon code may be redeemed in a future order.
To replicate this type of event, use the Event Editor to create an event with the following settings.

tip
Explanations of each of the Event Editor settings is provided in the Event Engine Editor Knowledge Base article. In this tutorial, only the most relevant settings will be discussed.

 
General Information

Event Type Automated Event
Active YES
How to apply the Triggers below Match ALL the triggers below.
 
Event Triggers

Trigger Type product
When 1 or more unit(s) of product SID  X are purchased in the storefront 

Event Results


Result Type coupon code
coupon code is generated in the amount of Y dollars


Once all of the event's settings have been configured, click the blue Save Changes button to create the new event.
 
Example: When product SID 123 is purchased, generate a $10.00 coupon code

Event Type Automated Event
Active YES
How to apply the Triggers below Match ALL the triggers below.
Trigger Type product
When 1 or more unit(s) of product SID  123 are purchased in the storefront 
Result Type coupon code
coupon code is generated in the amount of 10.00 dollars

Once all of the event's settings have been configured, click the blue Save Changes button to create the new coupon code.
 
More customizations...

Restrict the event by redeem limit, reusability, or date...

If the event's Redeem Limit setting is adjusted, it would be possible to limit how many times the event may be triggered, among all customers. This would limit the total number of coupons that would be generated by purchases of the specified product.

If the event's Reusable setting is adjusted, it would be possible to restrict the event so that each customer may only trigger the event once. The first time each customer purchases the specified product, the customer would be eligible to receive a new coupon. But after that initial order, purchasing the product again would not result in a new coupon for that customer.

It would also be possible to adjust the event's Start Date and End Date settings so that the event will only be active for a limited period of time.


Restrict the event by triggers...
Additional trigger rules may be added, to specify additional requirements that must be met in order for the customer to receive the coupon code.

For instance, if the event was created specifically for use by a customer group used to track "wholesale" customers, the following additional trigger rules might be added:
Trigger Type customer
Trigger Details The customer is in the Customer Group SID SID number of the "wholesale" customer group
If a customer who is not in the "wholesale" customer group purchases the product specified in the original trigger rules, the customer will not receive a coupon code.


Add more results...
Additional results may be added in the Add a result to this Event section. Each time a new result is configured, saving the event will transfer the new result rules to the Event results section, so that the Add a result to this Event section is again available to add another new result.

For example, the event could also apply a $10.00 discount to the specified product, as well as generating a $10.00 coupon for use in a future order.
General Information
Event Type Automated Event
Active YES
How to apply the Triggers below Match ALL the triggers below.
Trigger Type product
When 1 or more unit(s) of product SID  123 are purchased in the storefront 
Result Type coupon code
coupon code is generated in the amount of 10.00 dollars
Result Type product pricing
The price of product SID 123 is decreased 10.00 dollars

Once the additional result has been configured, click the blue Save Changes button add the new result to the event.


That's it for this tutorial! The information above may be used to create an event that generates a new coupon in the amount of Y dollars/percent, when product X is purchased in the storefront. The event's settings may even by customized to add restrictions on receiving the coupon, or to add more results.

— Last Edited - 02/3/2014 2:47pm PST
Rank and add a comment to this article
Only logged in users may leave comments and rank articles. Log in to have your say!
  Knowledge Base Home

  QuickCode™ Tag Glossary

  Modular Merchant.com Homepage

Not Logged in.
Either Log in or create a User Account.

Other articles in this category...

Buy product X, get product Y free

Buy X products, get the lowest priced one free

Create a coupon code for X dollars/percent off product Y

Create a redeemable coupon code

Create coupons for a specific group of customers

Create tiered volume discounts for all products in a category

Creating a link that applies a coupon code

Discount EVERY product (store-wide sale)

Discount the order total when a certain product is purchased

Discount two products when BOTH are purchased together

Give a group of customers a discount

Give a specific customer a discount

Make the most expensive, of two or more products, free

Offer a discount for bulk purchases of product X

Offer free or reduced shipping with a coupon

Offer free shipping with minimum purchase

Product X discounted by Y amount if customer has a subscription to product Z

Product X discounted if customer has previously purchased Product Y

Products in category X discounted by Y amount if customer has a subscription to product Z

Purchase product X and receive a coupon for Y amount/percent

Put a product on sale

Put NEARLY All Products On Sale

Put products in a category on sale

Save X on orders over $Y

Spend $X, receive a $Y coupon

Subscribe customer to an autoresponder when they purchase a product