The following targeters return product IDs.
GiftWrapItem
The GiftWrapItem
targeter is an exception to the slot/scenario/targeter workflow described in Using Targeters, Slots, and Scenarios to Personalize Content for Customers. The GiftWrapItem
targeter is called directly by the store.war/cart/gadgets/giftWrap.jsp
page and it returns the product ID for the gift wrap item from the product catalog. This functionality supports the Gift Wrap feature that appears on the Commerce Reference Store shopping cart page.
Encapsulating the gift wrap product ID in a targeter provides two benefits:
It gives merchandisers access to the gift wrap item, through the Business Control Center, so that they can change it to point to a different product ID, if necessary. Because the gift wrap item is not part of the regular catalog hierarchy, the targeter is the only location where merchandisers can makes changes to the gift wrap item.
Changes to the gift wrap item’s product ID do not require changes to the JSP code.
For more information on Commerce Reference Store gift wrap features, see Gift Wrap in the Order Handling chapter.
HomeFeaturedProduct1, HomeFeaturedProduct2, HomeFeaturedProduct3, HomeFeaturedProduct4, and HomeFeaturedProduct5
The HomeFeaturedProduct1
, HomeFeaturedProduct2
, HomeFeaturedProduct3
, HomeFeaturedProduct4
, and HomeFeaturedProduct5
targeters each return a single product, based on user segment and site context. Each of these targeters defines a default rule set, which is used by ATG Store US, and override rule sets for the ATG Home and ATG Store Germany sites.
The HomeFeaturedProducts
scenario uses these targeters to populate the recommended products section of the home page. For example, the following products are shown to the Men Only user segment on the ATG Store US site: Analog Watch, Laptop Briefcase, Leather Jacket, Double Layer Polo, and Hubbard Chair.
HomePromotionalItem1, HomePromotionalItem2, and HomePromotionalItem3
The HomePromtionalItem1
, HomePromotionalItem2
, and HomePromotionalItem3
targeters return different product IDs, based on site context and user segment. For example, when the current site is ATG Store US, HomePromotionalItem1
returns the following product IDs:
If the customer is in the
Fashionista
user segment, return the Pearl Necklace.If the customer is in the
womenOnly
user segment, return the Elegant Sandal.If the customer is in the
menOnly
user segment, return the Classic Rugby Shirt.For all other customers, return the Cowgirl Bag.
All of these targeters define a default rule set and an override rule set for the ATG Store US and ATG Store Germany sites. The homePromotionalItems
scenario uses the HomePromtionalItem1
, HomePromotionalItem2
, and HomePromotionalItem3
targeters to populate slots on the home page with product images that are customized based on user segment. For example, the three products that are returned for the Men Only user segment on ATG Store US are: Classic Rugby Shirt, Distressed Jeans, and Cargo Shorts.