Search

Contents

Revindex Storefront

Export Print

Recurring order reminder email

This email is sent out to users to remind them of their upcoming recurring orders are due to repeat. Users may want to be reminded to update their address and payment information on file before the order is repeated.

The Basic template rule can accept XSL tokens to inject dynamic data. Below is the sample XML input that you can retrieve token values from:

<in>
  <configuration>
    <generalEmailRecipient>support@localhost.com</generalEmailRecipient>
    <generalEmailSender>support@localhost.com</generalEmailSender>
    <generalStoreName>Revindex</generalStoreName>
  </configuration>
  <manageRecurringOrder>
    <tabUrl>https://site.com/page</tabUrl>
  </manageRecurringOrder>
  <portal>
    <managePaymentTabs>
      <tab>
        <tabID>65</tabID>
      </tab>
    </managePaymentTabs>
    <manageRecurringOrderTabs>
      <tab>
        <tabID>64</tabID>
      </tab>
    </manageRecurringOrderTabs>
    <portalAliases>
      <portalAlias>
        <cultureCode></cultureCode>
        <httpAlias>site.com</httpAlias>
        <isPrimary>true</isPrimary>
        <portalAliasID>1</portalAliasID>
      </portalAlias>
    </portalAliases>
    <portalID>0</portalID>
  </portal>
  <recurringSalesOrders>
    <recurringSalesOrder>
      <cultureCode>en-US</cultureCode>
      <dynamicFormResult>
        <fields>
          <field id="CustomFieldID1">Value...</field>
          <field id="CustomFieldID2">Value...</field>
        </fields>
      </dynamicFormResult>
      <maxRepeat></maxRepeat>
      <nextRecurringDate>2015-03-19T00:00:00</nextRecurringDate>
      <originalSalesOrderID>1686</originalSalesOrderID>
      <productVariant>
        <basePrice>19.0000</basePrice>
        <inventoryUnitType>1</inventoryUnitType>
        <msrp>10.0000</msrp>
        <name>Default</name>
        <preorderInterval>0</preorderInterval>
        <product>
          <name>Product 3</name>
        </product>
        <sku></sku>
      </productVariant>
      <productVariantID>6</productVariantID>
      <quantity>1</quantity>
      <recurringSalesOrderID>58</recurringSalesOrderID>
      <repeatCount>0</repeatCount>
      <shippingCity>Beverley hills</shippingCity>
      <shippingCompany></shippingCompany>
      <shippingCountryCode>US</shippingCountryCode>
      <shippingCountryName>United States</shippingCountryName>
      <shippingEmail>customer@localhost.com</shippingEmail>
      <shippingFirstName>John</shippingFirstName>
      <shippingLastName>Doe</shippingLastName>
      <shippingMethod>
        <name>Ground</name>
      </shippingMethod>
      <shippingMethodID>2</shippingMethodID>
      <shippingPhone>111-111-1111</shippingPhone>
      <shippingPostalCode>90211</shippingPostalCode>
      <shippingStreet>1 melrose place</shippingStreet>
      <shippingSubdivisionCode>US-CA</shippingSubdivisionCode>
      <shippingSubdivisionName>California</shippingSubdivisionName>
      <status>1</status>
      <userPayment>
        <city>Raleigh</city>
        <company></company>
        <countryCode>US</countryCode>
        <countryName>United States</countryName>
        <creditCardHint></creditCardHint>
        <email>customer@localhost.com</email>
        <firstName>John</firstName>
        <lastName>Doe</lastName>
        <paymentHint></paymentHint>
        <paymentMethod>3</paymentMethod>
        <paymentMethodName>Credit card</paymentMethodName>
        <phone>111-111-1111</phone>
        <postalCode>27601</postalCode>
        <street>1 Jones St</street>
        <subdivisionCode>US-NC</subdivisionCode>
        <subdivisionName>California</subdivisionName>
        <voucherHint>WBEP</voucherHint>
      </userPayment>
      <userPaymentID>68</userPaymentID>
    </recurringSalesOrder>
  </recurringSalesOrders>
  <user>
    <email>customer@localhost.com</email>
    <firstName>John</firstName>
    <lastName>Doe</lastName>
    <profile>
      <profileProperties>
        <Biography></Biography>
        <Cell></Cell>
        <City>Beverley hills</City>
        <Country>United States</Country>
        <Fax></Fax>
        <FirstName>John</FirstName>
        <IM></IM>
        <LastName>Doe</LastName>
        <MiddleName></MiddleName>
        <Photo>-1</Photo>
        <PostalCode>90210</PostalCode>
        <PreferredLocale>en-US</PreferredLocale>
        <PreferredTimeZone>Pacific Standard Time</PreferredTimeZone>
        <Prefix></Prefix>
        <Region>California</Region>
        <Street>1 road</Street>
        <Suffix></Suffix>
        <Telephone>111-111-1111</Telephone>
        <Unit></Unit>
        <Website></Website>
      </profileProperties>
    </profile>
    <roles>
      <role>Role 2</role>
      <role>Role 1</role>
    </roles>
    <userID>1</userID>
    <username>host</username>
  </user>
</in>

Comments

Add comment

Powered by Revindex Wiki