Tutorials > Customize the Consumer Direct sample store > Customizing the consumer direct sample store using snippets
Prepare the e-mail content
The contents of the e-mail are stored in a properties file. In this step you add the contents of the e-mail to the storetext properties file.
Procedure
- In the Enterprise Explorer view, navigate to Web Content > Stores > Web Content > WEB-INF > classes > MyApparelStore.
- Add the following text to the end of storetext.properties and storetext_en_US.properties.
#e-mailMessageDisplay.jsp e-mailMessageDisplay_Title = MyApparelStore E-mail e-mailMessageDisplay_Line = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e-mailMessageDisplay_Para1= The following message is presented as a service to MyApparelStore customers. e-mailMessageDisplay_Hi = Hi, e-mailMessageDisplay_Para2= For over 40 years, people have come to rely on MyApparelStore to deliver quality apparel for all occasions. Discover the world of MyApparelStore - shop online or by phone today! e-mailMessageDisplay_Para3= There's always something new, just for you, at MyApparelStore. Why not take a look? e-mailMessageDisplay_Para4= MyApparelstore.com values you and the privacy. We understand that you do not want to share information without the consent. This e-mail has been sent by MyApparelStore.com. You have our word that the information will not be shared with another company without the permission. e-mailMessageDisplay_Para5= If you have changed the mind, and no longer want to receive e-mails about our new arrivals and special promotions, please click the link below: e-mailMessageDisplay_Subject = Look at what just arrived! e-mailMessageDisplay_VisitHomepage = Visit our store homepage e-mailMessageDisplay_Remove = Remove
- Save and close the files.
Note: The URLs for the links referenced in the e-mail text above will display in the e-mail and are not specified in the properties file. This properties file contains only the text that displays in the e-mail.
Tip: If to use a locale other than en_US, copy the text from WCDE_installdi../images/locale/screensnap/samples/emailactivity/properties/EmailActivityText_ locale.properties into Stores\Web Content\WEB-INF\classes\ MyApparelStorestoretext_locale.properties. Modify the text by replacing ConsumerDirect with MyApparelStore and the word housewares with apparel.