The Condition and Offer property editor appears on the General tab. See Condition & Offer Templates for information on templates for other promotion types.

There are two ways you can approach gift with purchase promotions:

  • Gift items are not available for purchase and always have $0.00 price

  • Gift items are available for purchase and have a price, but are discounted to free when the order qualifies for the promotion

The default configuration assumes that gift with purchase items have a non-zero price. If you want your gift with purchase items to be zero-priced, you must set the filterTargetForZeroPrices property of the Qualifier component to false. See the Qualifier Class chapter of the ATG Commerce Programming Guide for information. Bear in mind that you must code your shopping cart pages so that customers cannot increase the quantity of the zero-priced item, and that other zero-priced items that are not gifts will not be filtered when applying promotions.

The difference between zero-price and non-zero-price gift items becomes important when a customer returns an item that qualified their order for the gift with purchase. Consider the following scenarios when a customer places an order and receives a gift with their purchase:

  • The gift has zero price. The customer returns the qualifying item for full price and keeps the gift item. This scenario may be acceptable if the gift item is a small sample or other item that would not normally be returnable on its own, but may not be acceptable if the item is normally available for purchase.

  • The gift has a non-zero price. The customer returns the qualifying item. Their order no longer qualifies for the gift, and is repriced. Any refund or exchange takes the actual cost of the gift item into account.

Get Gift with Purchase

This promotion provides the customer with a free gift when the customer makes any purchase. For example, “Get a free votive candle with any purchase.”

This promotion can only apply once to a given shopping cart. The template prevents gift items from also acting as qualifiers for the promotion; to continue with our example, if the customer’s cart contains only a single votive candle, that candle is not repriced to free. However, if the customer places another non-gift item in the cart, the non-gift item qualifies that customer for the promotion, and the votive candle is repriced to free.

Specify the offer:

The following table describes the offer properties:

Property

Description

Gift with Purchase

The free gift item.

Auto Remove from Cart?

Specify whether gift items that were automatically added to the cart should be automatically removed if the cart no longer qualifies.

Buy Item X Get Gift with Purchase

This promotion provides the customer with a free gift when the customer buys a specific item. For example, “Buy any pair of shoes, get a free pack of socks.”

This promotion can only apply once to a given shopping cart; if shoppers add two of the qualifying item, they still only receive one gift item.

In addition, the template prevents gift items from also acting as qualifiers for the promotion. For example, you could set up a promotion that offers a free pair of Brand X gloves with the purchase of any gloves. If the customer adds Brand X gloves to the cart, they do not qualify for the promotion, because the free item cannot be used to qualify. (If you want to set up a buy one, get one promotion type, see the BOGO (Buy One Get One) template.) If the customer adds a different brand of gloves, they qualify for the Brand X promotion.

First, set up the condition parameters:

The following table describes the condition properties:

Property

Description

Number of items to buy

How many items the customer must purchase in order to receive the gift item. This quantity must be at least 1.

Item(s) to buy

If you do not want the promotion to apply to all purchases, specify the assets that qualify. You can add additional criteria as needed and combine them in either AND (the purchase must meet all criteria) or OR (the purchase must meet at least one criterion) form.

To exclude items from the condition (that is, they won’t help the customer qualify for the promotion), click the Add Criteria button under the Items to Exclude area.

Next, specify the offer:

The following table describes the offer properties:

Property

Description

Gift with Purchase

The free gift item.

Auto Remove from Cart?

Specify whether gift items that were automatically added to the cart should be automatically removed if the cart no longer qualifies.

Spend Y Get Gift with Purchase

This promotion provides the customer with a free gift when the customer spends a specified amount of money. For example, “Spend $50, get a free movie ticket.” Note that this promotion behaves likes the Spend X in Y promotion in that it examines the individual items in the shopping cart, not the order total. Products identified as gifts do not count toward the Spend Y total.

This promotion can only apply once to a given shopping cart; if shoppers add two of the qualifying item, they still only receive one gift item.

First, specify the Spend threshold for the condition.

Optionally, you can define a promotion upsell for the promotion. This allows your site to inform customers when they are close to qualifying for the promotion. Bear in mind that the upsell does not appear on your site automatically, but must be incorporated into a JSP or otherwise actively presented to the customer.

If you specify a promotion upsell as part of the condition and offer, you can still specify additional upsells under the Promotion Upsells part of the General tab. Note that the promotion upsell section only appears in the condition and offer template when you first create the promotion. To edit a promotion upsell, use the Promotion Upsells section of the promotion’s General tab.

Next, specify the offer:

The following table describes the offer properties:

Property

Description

Gift with Purchase

The free gift item.

Auto Remove from Cart?

Specify whether gift items that were automatically added to the cart should be automatically removed if the cart no longer qualifies.

Spend Y in X Get Gift with Purchase

This promotion provides the customer with a free gift when the customer spends a specified amount of money in the specified product group. For example, “Spend $300 in the Home Accents category, receive a free area rug.”

This promotion can only apply once to a given shopping cart; if shoppers add two of the qualifying item, they still only receive one gift item. The template prevents gift items from also acting as qualifiers for the promotion.

For example, you set up a promotion in which customers who spend $200 in Home Accents receive a particular lamp. The customer adds items to their cart, including that lamp. The cart total is $200, but the lamp is removed because it is the target of the promotion. The customer must add other items to qualify for the promotion, at which point the lamp is repriced to free.

First, specify the Spend threshold and the Spend in options for the condition. The Spend in can be categories, products, or specific SKUs. You can refine the Spend in by adding more criteria to the condition.

Optionally, you can define a promotion upsell for the promotion. This allows your site to inform customers when they are close to qualifying for the promotion. Bear in mind that the upsell does not appear on your site automatically, but must be incorporated into a JSP or otherwise actively presented to the customer.

If you specify a promotion upsell as part of the condition and offer, you can still specify additional upsells under the Promotion Upsells part of the General tab.

To exclude items from the condition (that is, they won’t help the customer qualify for the promotion), click the Add Criteria button under the Items to Exclude area.

Next, specify the offer:

The following table describes the offer properties:

Property

Description

Gift with Purchase

The free gift item.

Auto Remove from Cart?

Specify whether gift items that were automatically added to the cart should be automatically removed if the cart no longer qualifies.