Skip to content
OpenCart · User manual

Gift Products PRO

Version 1.1.1 Product page
Chapter 5

Campaigns

The module has one administration screen, titled Configure gift campaigns. This chapter explains every field on it, in the order shown, and how to save your changes.

Layout of the screen

The screen has two parts, and each part is saved with its own button:

  • General configuration, at the top, holds the Extension status and a Save button.
  • The campaign list, below, holds the search box, the Add campaign button and one collapsible panel per campaign. It is saved with the blue save button at the top right of the page.

On OpenCart 1.5, 2.x and 4.x the screen opens as a page of its own, without the OpenCart menu. The fields are the same.

General configuration

SettingWhat it does
Extension statusEnabled turns gift campaigns on in the shop. Disabled turns all of them off: no gift window is shown and gifts already in carts are removed the next time each cart is loaded. The module is installed as Disabled.
SaveSaves the status only.

The campaign list

ElementWhat it does
Search campaigns by name…Filters the list as you type. It only hides panels on screen; hidden campaigns are still saved.
Add campaignAdds an empty campaign panel, already open, at the end of the list.
Campaign titleClick it to open or close the panel. It shows the Internal name, or Unnamed campaign until you type one.
× buttonRemoves the campaign from the list. The removal is final when you save.

You can keep up to 200 campaigns. After saving you see Gift campaigns saved successfully.

Campaign fields

Internal name

A name for your own use, up to 200 characters. It is required. Shoppers never see it.

Start date and End date

Both are optional. Leave them empty for a campaign with no time limit.

  • With a Start date, the campaign begins on that day.
  • With an End date, the campaign still applies on that day and stops the day after.
  • The end date cannot be earlier than the start date.

Dates are compared with the date of your server.

Minimum amount

The amount the cart must reach for the campaign to apply. Leave it empty or at 0 for no minimum.

The amount is calculated like this:

  • only paid products count; gifts and delivery charges do not;
  • coupon discounts are subtracted first;
  • the amount is in the default currency of your shop.

The selector under the field sets the tax basis:

OptionWhat it does
Including taxCompares the minimum with the product total with taxes. This is the option selected in a new campaign.
Excluding taxCompares the minimum with the product total without taxes.

The minimum is an extra condition. The cart must also contain a qualifying product.

Active

Yes makes the campaign available in the shop. No keeps it saved but switched off. A new campaign starts on Yes.

Qualifying products

Type part of a product name or model in Search by product name or model… and click a result to add it. The search returns up to 20 results. Click the red minus icon to remove a product.

Categories

Tick the categories whose products unlock the gift. A product qualifies when it is assigned to one of the ticked categories.

  • Ticking or clearing a category does the same to all its subcategories. You can then clear individual subcategories.
  • A parent category with only some subcategories ticked is shown as partly selected and is not saved as selected itself. Products assigned only to that parent do not qualify.
  • Search categories… filters the list. Matching categories are shown with their parents. The search hides categories on screen but does not change what is ticked.
  • Select all / Clear all ticks or clears every category, including those hidden by the search.

Manufacturers

Tick the manufacturers whose products unlock the gift. Select all / Clear all ticks or clears the whole list.

How the three selectors combine

Products, categories and manufacturers work as alternatives. The campaign is unlocked when the cart holds at least one paid product that is in Qualifying products, or belongs to a ticked category, or belongs to a ticked manufacturer.

A campaign needs at least one qualifying product, category or manufacturer. Gift lines never unlock a campaign.

Customer groups

Tick the customer groups that can receive the gift. In a new campaign all groups are ticked.

  • Shoppers who are not logged in count as members of the shop's default customer group. That group is marked with (guests) in the list.
  • If no group is ticked, nobody is eligible.

Gift products

Type in Search and add gift products… and click a result to add it. Add one product for a fixed gift, or several to let the shopper choose. The shopper can choose one gift per campaign.

In the search results, a product that is switched off is marked Disabled product and a product without stock is marked Out of stock. You can add them, but they are only offered in the shop while they are available.

Each gift product must have a minimum quantity of one, no recurring profile and no required file upload option. See Overview for the full rules.

Saving and validation

Click the blue save button at the top right. If something is wrong, nothing is saved and one of these messages appears at the top:

MessageWhat to check
Check campaign names, dates, selected conditions and gift products.Every campaign needs a name, at least one qualifying product, category or manufacturer, and at least one gift product. Dates must be valid and the end date must not be before the start date.
Gift products must have a minimum quantity of one, no recurring profiles and no required file upload options.One of the gift products breaks these rules. Change the product or remove it from the campaign.
You do not have permission to modify this extension.Your user group lacks modify permission for the module.

What is not configurable

  • The gift quantity is always one per campaign.
  • The gift is always chosen by the shopper in the gift window, also when the campaign offers a single product.
  • There is no per-store setting. See Compatibility and languages.

Still need help?

Open a support ticket from your account and our team will look at your store with you.