Gifts in the shop
What the shopper sees when a cart qualifies, and how gifts behave in the cart, totals, taxes, stock and orders.
When the gift window appears
The shop checks the cart on every page load and after the shopper adds, updates or removes a product or applies a coupon. If the cart qualifies for a campaign and holds no gift from it yet, a window opens over the page.
The window shows:
- the title Choose your free gift and the text Choose one available gift and complete any required options.;
- one card per gift product, with its image and name;
- the options of each gift, with required options marked with an asterisk;
- the button Add my gift to cart on each card;
- the button Continue without a gift.
Only gift products that are enabled and have stock are shown. Option values that subtract stock and have none left are not offered. If none of the gifts of a campaign is available, the window does not open for it.
When the cart qualifies for several campaigns, the window shows one campaign at a time. After the shopper adds a gift, the window opens again for the next campaign.
Choosing a gift
The shopper completes the options and clicks Add my gift to cart. If a required option is missing, a message such as Size is required. appears under it.
The gift is added and the shopper sees the updated cart. On the default OpenCart 3 theme the cart block in the header is refreshed, and on checkout pages the page reloads. On OpenCart 1.5, 2.x and 4.x the page reloads.
If the cart stopped qualifying in the meantime, the shopper sees This gift is no longer available. Refresh your cart and try again.
Continuing without a gift
The shopper can click Continue without a gift or press the Escape key. The window closes and shopping continues. The offer is shown again on the next page load or the next cart change, for as long as the cart qualifies and has no gift from that campaign.
The gift in the cart
A gift is a separate cart line:
- its price and line total are zero, including the price of its options;
- its quantity is always one. If the quantity is changed, it is set back to one;
- it earns no reward points;
- it never counts as a qualifying product and never counts towards a minimum amount.
On Journal 3 with OpenCart 3, the gift line also shows a green GIFT label in the cart and in the Journal checkout. See Compatibility and languages.
Buying the gift product as well
A shopper can buy the same product at its normal price and also receive it as a gift. The two are separate lines. The purchased line keeps its normal price, and the gift unit is not counted when OpenCart works out quantity discounts for the purchased units.
When a gift is removed
The extension checks every gift each time the cart is loaded. It removes a gift when:
- the cart no longer contains a qualifying product;
- the paid products fall below the Minimum amount, for example after removing a product or applying a coupon;
- the campaign is switched off, ends, or is deleted, or the extension is disabled;
- the shopper's customer group is not ticked in the campaign, for example after logging in;
- the gift product was removed from the campaign;
- the gift is out of stock;
- the cart already holds another gift from the same campaign.
If the cart still qualifies after a removal, the gift window offers the campaign again.
A gift belongs to the shopper's browsing session. When the session ends, a gift left in a saved cart is removed and offered again on the next visit.
Totals and taxes
- The gift adds nothing to the sub-total.
- The gift carries no tax class in the cart, so no tax is calculated for it.
- Coupons, vouchers and other order totals are calculated by OpenCart as usual on the paid products.
- The Minimum amount uses the paid products after coupon discounts and ignores delivery charges. See Campaigns.
Stock
Gift stock is the normal stock of the product in OpenCart. There is no separate gift stock.
- A gift product with a quantity below one is not offered.
- A gift already in the cart is removed when it is no longer in stock.
- When the order is placed, the gift is an order line like any other, so OpenCart handles its stock as it does for purchased products.
Orders and invoices
A gift reaches the order as a normal product line with a price and total of zero, together with the options the shopper chose. It appears that way in the order in your administration, in the order emails and on the invoice, so the warehouse sees it with the rest of the products.
Still need help?
Open a support ticket from your account and our team will look at your store with you.