ATG Store has a number of JSPs that are used to dynamically construct email messages that are sent out when customers perform certain actions. There are 7 top-level email templates:

  • /emailtemplates/abandonedOrderPromo.jsp -- Message granting a promotion giving the customer 10% off his or her next order. This message is sent by a scenario that is triggered if the customer abandons a shopping cart. See the Scenarios That Grant Promotions section in the Personalization chapter.

  • /emailtemplates/backInStockNotify.jsp -- Message informing a customer that a specific product or SKU is back in stock. This message is sent to customers who have explicitly requested notification, as described in the Back in Stock Emails section of the Inventory Management chapter.

  • /emailtemplates/emailAFriend.jsp -- Message with information about a specific product. A customer creates this message by selecting Email to a Friend from the More Actions dropdown on the product detail page. ATG Store then displays a form that the customer fills out, specifying the recipient’s email address and the message text.

  • /emailtemplates/giftCertificate.jsp -- Message sent to the recipient of a gift certificate. This message is sent automatically when the customer purchasing the gift certificate completes the checkout process.

  • /emailtemplates/newPassword.jsp -- Message containing a new temporary password for the customer’s account. This message is sent when the customer clicks the “Can’t remember your password?” link on the Login page and fills in the email address associated with the account.

  • /emailtemplates/orderConfirmation.jsp -- Message confirming placement of a new order. The message is sent by a scenario that is triggered when the order is submitted. See the Scenario That Confirms Orders section in the Personalization chapter.

  • /emailtemplates/orderShipped.jsp -- Message sent to a customer when an order has been shipped. The message is triggered by the Fulfillment system when the order’s shipping group has been marked as shipped.

Like other top-level pages, these templates render much of their content through inclusion of gadgets and other JSP files. For example, /emailtemplates/backInStockNotify.jsp includes /emailtemplates/gadgets/backInStockNotify.jsp, which includes /emailtemplates/gadgets/backInSkuDetails.jsp.

Note that unlike other ATG Store pages, some of the email JSPs contain styling information, rather than referring to external .css files. This is because some email clients don’t have support for external .css files.

 
loading table of contents...