MMv4 KB
 
Product X discounted if customer has previously purchased Product Y
  Last Edited - 12/31/2012 9:41am PST
  Category Path - Shopping Cart Software Components > Administration Area > Modules > Event Engine > FAQs & Tutorials
 
This tutorial describes the steps to give a discount on a product to all customers who have purchased a specific product in the past.

Overview
  • When a customer has Product X in their order history, the store will apply a discount to Product Y.
  • If the customer does not have Product X in their order history, then the discount will not be applied.
To replicate this type of functionality in your store, use the Event Engine Editor to create an event with the following Triggers and Results:


Triggers
The event's trigger(s) should be set up as follows:

trigger 1 of 1
Trigger Type: product
Trigger Details: When 1 or more unit(s) of product SID 123 are in the customer's order history

In the example above, change "123" to the SID of the product that the customer must have in their order history to trigger the event.


Results
The event's result(s) should be set up as follows:

result 1 of 1
Result Type: product pricing
Result Details: The price of product SID 456 is decreased 42 percent

In the example above, change "456" to the SID of the product that will be given the discount. Change "42" to the desired discount amount. Optionally, change "percent" to "dollars".

To allow this event to be reused by the same customer, toggle the Reusable option to "YES".
Powered by ModularKB