ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
Discount two products when BOTH are purchased together
Discount the order total when a certain product is purchased Give a group of customers a discount
Location Home > Shopping Cart Software Components > Administration Area > Modules > Event Engine > FAQs & Tutorials

Discount two products when BOTH are purchased together

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.



— Last Edited - 06/26/2012 4:03pm PDT
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