MMv4 KB
 
Discount the order total when a certain product is purchased
  Last Edited - 11/8/2012 2:03pm PST
  Category Path - Shopping Cart Software Components > Administration Area > Modules > Event Engine > FAQs & Tutorials
 
This tutorial describes the steps to apply a discount to an order's total when a specific product from within a Product Group is present in the customer's basket.

Overview
  • When a customer adds a unit of Product X to their basket, the store automatically deducts $Y from the order's grand total.
  • If the customer removes Product X from the basket, the $Y deduction from the order's grand total is also removed.
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
Type: product
Details: When 1 or more unit(s) of product SID 123 are in the customer's basket

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


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

result 1 of 1
Type: order pricing
Details: The order grand total is decreased the amount of 100 dollars

In the example above, change "100" to the amount that the order's grand total should be reduced.
Powered by ModularKB