Special Offers: Spend X Get Y
page last edited on 17 January 2018
The ‘Spend X Get Y’ module works with a cart subtotal and gives a customer a discount if a certain subtotal is met. Unlike regular discounts or sales the module encourages customers to spend from a certain sum to win a price. The Spend X Get Y offer is especially good when you need to force sales regardless of particular SKUs.
Once installed the module functionality will become available in the ‘Discounts: Special Offers’ section of the cart admin area (Figure 1). Along with the module itself you’ll see a ‘Sample: Spend $100 and get 50% off the cheapest’ that illustrates the basic configuration principles.
Let’s consider the sample to understand how the Spend X Get Y offer works.
First comes the ‘General Options’ section (Figure 2) where you can define the administrative name, i.e. the name of the offer how the cart admin sees it in the list of offers (https://www.yourstore.com/admin.php?target=special_offers). The offer type ‘Spend X Get M of items discounted/free’ is preset as it was defined when an offer was created (refer to Create on Figure 1).
Also, in the ‘General Options’ section you can enable or disable the offer.
It’s also possible to enable/disable an offer directly on the listing page (Figure 3) via a special ‘Enable/Disable’ button. When the offer is enabled the button is green, when disabled - grey. Make sure you save the changes after enabling/disabling an offer.
When enabled the offer becomes available to the customers on the home page in the ‘Special Offers’ section as well as on the matching category pages and on the Special Offers page.
After General Options comes the ‘Dates’ section (Figure 4).
In this section the cart admin can define the dates the offer will start and end at. If the dates are not defined the offer will be open-ended.
When the dates are defined you can proceed to Conditions and Reward, the sections that are literary a heart of the offer as here the cart admin defines a subtotal the offer will be applied to (it is $100 in the sample), the category(s) and the membership(s) and a reward a customer will get (Figure 5).
To set a particular category or categories the offer will be applied to the admin will need to choose them from the list of all categories and subcategories available in the store. If the offer is store-wide no selection is required.
Hold Shift to choose more than one category and/or subcategory. Subcategories are marked with ‘—’ in the list
If no selection is done the offer will be store-wide and will be applied to all SKUs available including products on sale, products with volume discounts, etc. If a particular category is chosen the offer will count only the SKUs from the root of this category. To include SKUs from subcategories as well, please choose them along with the main category.
If it’s necessary to limit the offer for particular groups of customers the cart admin can choose them in the ‘Eligible membership levels’ field of the ‘Conditions’ section.
Let’s say it’s necessary to exclude the SKUs with volume discounts from the offer. If such products are joined under one category (Category A), it will be necessary to choose all other categories from the list in the ‘From these categories’ field except for Category A. If the SKUs with volume discounts are not joined under a particular category but are rather available for customers with a particular membership (Wholesaler) it will be necessary to choose No membership in the ‘Eligible membership levels’ field. (If there are other memberships in the cart in addition to Wholesaler, it will be necessary to choose No membership and all the memberships the offer is eligible for).
The profit is counted in a number of products a customer will get at a discount. In our sample it is 1 product. The discount can be set in percent (%) and fixed sum (%). If you set the discount to 100% the customer will get the item(s) for free. The discount is set to 50% in the sample.
To allow customers use several types of discount at a time use % to set the value
The section that comes next is Exclusions (Figure 6). Here you’ll exclude any possible offers that may interfere with the current one.
Exclusions can be set only on the special offers created with the Special Offers: Spend X Get Y and Special Offers: Buy X Get Y modules. To set an exclusion, mark the offer(s) that will prevent the current offer from being applied.
If you have e.g. Offer A and Offer B and define Offer B as an exclusion for Offer A, Offer A and Offer B will not be applied to the same products in an order. This means that the cart will first check the order to meet the Offer A conditions and apply the discounts set for Offer A if the conditions are met. Then the cart will check the same order to meet the Offer B conditions excluding the products that were counted for Offer A. If the Offer B conditions are met the Offer B discounts will be applied to the order as well but to the different items from the order. If no exclusions are set discounts of both Offer A and Offer B can be applied to one and the same product from the order.
Offers are applied in order of appearance on the offers listing page (Figure 3).
Next comes the ‘Description & Promotions’ section (Figure 7). This section defines how your customers will see the offer in the store.
You’ll need to define the offer’s title (or how you’ll announce the offer to the customers), the offer’s description, image and short description. The last 3 are optional. Also, this section has a predefined image and short description locations (Figure 8). If you want to exclude any of the locations turn them off.
The offer title, image and short description (if defined) are displayed on the home page (Fig 9) when the offer is enabled. They also are displayed at any matching category page.
As a source for an image you can use either .jpg, .png, .gif or .bmp files from your computer or an image URL from the web. The image will be resized to 160x230 pixels when displayed on the customers front-end. Please keep this in mind when setting the image for an offer.
The full offer description is displayed on the Special Offers page (Figure 10), that can be opened by clicking the offer title on the home page and on the category page.
Now that you know how the Spend X Get Y offer works you can try it on your own and create an offer in your store following the steps described above. To proceed you’ll need to choose the offer type on the listing page and click Create (presuming the Spend X Get Y module is installed and enabled). When all required fields of the offer are filled in don’t forget to click Update and enable the offer for your customers.
Once created you’ll need to enable the Special Offers panel in the ‘Hot Deals’ section on the home page (Figure 11). For this purpose go to the ‘Content: Menus’ section in the cart admin area and choose the hot deals available.
Enable the special offers panel as shown on Figure 12
and special offers will be added to Home page: Hot Deals
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.