MMv4 KB
 
Discount two products when BOTH are purchased together
  Last Edited - 06/26/2012 4:03pm PDT
  Category Path - Shopping Cart Software Components > Administration Area > Modules > Event Engine > FAQs & Tutorials
 
This tutorial describes the steps to apply a discount to two products when both of them are present in the customer's basket.

Overview
  • When a customer adds a unit of Product X and a unit of Product Y to their basket, the store automatically discounts the price of both of those products.
  • If the customer removes either Product X or Product Y from the basket, the deduction is removed from both products.
To replicate this type of functionality in your store, use the Event Engine Editor to create an event with the following Triggers and Results:



General Settings
The event may be given any name and description you wish. The only setting in this section that must be set a specific way is the setting titled How to apply the Triggers below. This option must be set to Match ALL the triggers below.


Triggers
The event's will require two triggers. They should be set up as follows.

trigger 1 of 2
Type: product
Details: When 1 or more unit(s) of product SID 111 are in the customer's basket

After creating the first trigger, click the Save Changes to this Event button to save it. The Event Editor will then reload. When it reloads, Trigger 1 will be listed and a new slot to add an additional trigger will be available. Use this additional slot to create the following second trigger:

trigger 2 of 2
Type: product
Details: When 1 or more unit(s) of product SID 222 are in the customer's basket

In the example above, change "111" and "222" to the SID numbers of the products that the customer must have present in their basket to trigger the event.


Results
The event's will require two results. They should be set up as follows.

result 1 of 2
Type: product pricing
Details: The price of product SID 111 is decreased 50 percent

After creating the first result, click the Save Changes to this Event button to save it. The Event Editor will then reload. When it reloads, Result 1 will be listed and a new slot to add an additional result will be available. Use this additional slot to create the following second result:

result 2 of 2
Type: product pricing
Details: The price of product SID 222 is decreased 50 percent

In the example above, change "111" and "222" to the SID numbers of the products to be discounted when the event is triggered. The amount of the price deduction can be changed from "50 percent" to any percentage or dollar value.

When this event is triggered, both product 111 and 222 will be discounted. This approach can be used to create sales in which certain products must be purchased together in order for them to be discounted.

Powered by ModularKB