Gift certificates are delivered to the user via the SoftGoodFulfiller
. This service is defined by the component at /atg/commerce/fulfillment/SoftgoodFulfiller
. The delivery mechanism is e-mail. The component that lives at /atg/commerce/fulfillment/SoftgoodFulfiller
has several properties that can be set to personalize the message sent by the fulfiller to the user. For the Pioneer Cycling site, we changed the values of some of these properties so that the message would be appropriate for the store. This is what the SoftgoodFulfiller.properties
file for the Pioneer Cycling store looks like:
# email properties for customized message defaultSubject=A Gift Certificate for You! defaultFromAddress=pioneer@example.com defaultMessageBody=Here is a gift certificate claim number for you. You can go to Pioneer Cycling store to use it. giftCertificateEmailTemplate=/PioneerCycling/en/emails/GiftCertificate.jsp
This sets the properties that control the contents of the e-mail sent to the gift certificate recipient.