ModularMerchant
MMv4 Knowledge Base
Shopping Cart Software Knowledge Base
If it can be known about the shopping cart software, it is here.
Buy X products, get the lowest priced one free Give a group of customers a discount
Home > Shopping Cart Software Components > Administration Area > Modules > Event Engine > FAQs & Tutorials > Discount the order total when a certain product is purchased

Discount the order total when a certain product is purchased

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 results(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.

— Last Edited - 03/1/2012 10:28am 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

Discount the order total when a certain product is purchased

Give a group of customers a discount

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

Offer free or reduced shipping with a coupon

Offer free shipping with minimum purchase

Put a product on sale

Spend $X, receive a $Y coupon

Subscribe customer to an autoresponder when they purchase a product