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.
FeaturedProducts
The FeaturedProducts
targeter returns a set of 15 products, based on user segment and site context. This targeter defines a default rule set, which is used by CRS Store Germany, and override rule sets for the CRS Home and CRS Store sites. The FeaturedProducts
scenario uses this targeter to populate the sliding featured products section at the bottom of the Default Home Page
.
![This illustration is described in the preceding text.](media/image14.png)