Difference between revisions of "HTML Thank-You Emails"
NeuCartAdmin (Talk | contribs) (→HTML Markup) |
NeuCartAdmin (Talk | contribs) (→Rules and Replaceable Text) |
||
Line 30: | Line 30: | ||
=== Rules and Replaceable Text === | === Rules and Replaceable Text === | ||
+ | The HTML section does not include all HTML. Much of the text block contains "replaceable text" that will display based on conditions within the order, such as: | ||
+ | * The order number | ||
+ | * The customer's name | ||
+ | * If there are shippable products in the order | ||
+ | * If there are downloadable products in the order | ||
+ | * And so on. | ||
+ | |||
+ | The default HTML that is configured within NeuCart, for example, includes the text {{code|~ship_message~}} | ||
+ | The rules section is where the configuration of HTML emails | ||
+ | |||
+ | ~ship_message~ | ||
== See also == | == See also == |
Revision as of 02:22, 14 November 2015
HTML Thank-You Emails are emails that, if configured, a NeuCart system sends to customers after an order has been placed. Unlike the plain-text Order Confirmation Emails that are sent by default (and that are mostly formulaic), HTML Thank-You Emails allow a store owner to present more store-specific information, branding, and images that will enhance the buyer's overall experience and store appearance. In addition, by using HTML in the thank-you emails, the confirmations to customers can be clearer to read and include modern layouts.
|
Configuration
The configuration for HTML Thank-You Emails is done in Order Notification Preferences on the HTML Email Format tab. On this tab, there is a large text box for configuring the HTML markup, as well as a section for configuring the rules for displaying certain parts of the HTML markup. For example, with proper configuration, information about downloading digital products will appear only when the order actually contains a downloadable product.
HTML Markup
The text box for HTML allows for any text; the default HTML that is shipped with the product includes somewhat standard HTML sections:
<html> <head> <style> </style> </head> <body> </body> </html>
The body section contains the HTML for your emails, as well as the special replaceable text that will be displayed based on the conditions of the order. The style section includes any CSS that relates to the HTML, using the usual "id" and "class" attributes. Important notes:
- During the order creation and the email generation with this HTML, the CSS from this section is matched to the HTML and written "inline". (The process is called "CSS inlining".) Because many (if not most) email programs do not support actual CSS Stylesheets, this transformation needs to occur so that your emails will look as you expect them to.
- The CSS Inlining process does not allow for pseudo classes (a:hover, for example), because most email applications do not support this.
Rules and Replaceable Text
The HTML section does not include all HTML. Much of the text block contains "replaceable text" that will display based on conditions within the order, such as:
- The order number
- The customer's name
- If there are shippable products in the order
- If there are downloadable products in the order
- And so on.
The default HTML that is configured within NeuCart, for example, includes the text ~ship_message~
The rules section is where the configuration of HTML emails
~ship_message~
See also
Emails and Thank You Page |
Order Notification Preferences
• HTML Thank-You Emails
• |
Learning series: Emails and Thank You Page |