Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Customising based on Order Source

You may wish to have a different email Subject for certain order types. 

Do you have physical, Point Of Sale retail locations? In those instancesFor 'in person' orders, you may not want an email sent to your customer saying "Your Order Has Shipped" (because they've taken the goods with them!). A subject line of "Your Order Receipt" may be more appropriate in this scenario.

The subject Subject of your Offline Order Shipped email is determined by the value of the resource "rcEmailSubjectOfflineOrderShippedDefault". You can override this for different order sources, by creating a new resource for each type that requires a custom subject line. Here's how:

  1. Find the PRONTO code for the order source you wish to customise. For example, "P" might signify a POS order in PRONTO, "-" might be internet, and so forth.
  2. Create a new resource to act as an override for that source type: 
    1. In the CMS, navigate to Advanced Content → Resources
    2. Click New
    3. In the Resource Code field, enter ''rcEmailSubjectOfflineOrderShipped_XYZ", replacing XYZ with the PRONTO code for your order source.
    4. In the Resource Value field, enter the subject line custom text for this order source. This will become the Subject for offline emails from this source. 
    5. Give the resource a Description to help you identify it and find it in searches. 
    6. Click OK to save. 
    7. Your Offline Order Shipped email subject will now display this resource value. Any source types without an override will display the value of "rcEmailSubjectOfflineOrderShippedDefault".


Now that the subject line is being overridden for this source type, you may wish to also customise the heading shown in the body of the email. 

You can do this via the Email Title Offline Order widget

  1. In the CMS, navigate to Content → Emails
  2. Select the Offline Order Shipped Email Template.
  3. In the zone 'AfterHeader' (or other zone according to your layout), add an Email Title Offline Order widget
  4. Drag the widget so it sits with below the existing original Email Title Offline Order widget.
  5. Edit the your newly added widget.
  6. Enter the Email Title to be displayed in the body of the email.
  7. Set the Title Type to either Content, or Order (order Order will include the order number)
  8. In the Order Source Inclusions field, enter the type you wish to display this title for. 
  9. In the Order Source Exclusions field, enter the type(s) you wish to exclude for this title. 
  10. Click Save
  11. Now, Edit the original Email Title Offline Order widget. 
  12. In the Order Source Exclusions field, enter the type you just customised the subject for. 
  13. Click Save

...