Commerce Reference Store adds two new item descriptors to the profile repository, emailRecipient and backInStockNotifyItem.
emailRecipient Item Descriptor
The emailRecipient item descriptor captures e-mail information for customers who choose to sign up for email promotions and discounts. Customers do not have to be registered customers to sign up for these emails. Two gadgets can populate the emailRecipient item descriptor for a customer, /myaccount/gadgets/register.jsp and /navigation/gadgets/signup.jsp. Email recipient data is stored in the cbp_email_recpient table.
sourceCode
A code that indicates whether the customer signed up via theregister.jsppage or via thesignup.jsppage. Out of the box, these codes are null. To configure a source code forregistration.jsp, use the property/atg/store/profile/RegistrationFormHandler.sourceCode. To specify a source code forsignup.jsp, use the property/atg/store/email/EmailCampaignFormHandler.sourceCode.
backInStockNotifyItem Item Descriptor
The backInStockNotifyItem item descriptor supports functionality in the /browse/gadgets/notifyMeRequest.jsp gadget that allows customers to request notification when an item is back in stock. A backInStockNotifyItem creates a relationship between an email address to be notified and the product and SKU ID for the product that is out of stock. When the BackInStockNotification service receives notification, generally from an external system, that a SKU is back in stock, it does the following:
Queries the profile repository for
backInStockNotifyItemitems that have matching product and SKU IDs.Sends an email to the addresses in the matching
backInStockNotifyItemitems.Deletes the matching
backInStockNotifyItemitems.
This section describes the backInStockNotifyItem item descriptor’s properties.
Note: You can find additional information on back-in-stock notification in the Inventory Management chapter.

