Search

Index

Revindex Storefront

Recurring order reminder email

Last updated on 2022-04-20 3 mins. to read

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>
      <currency>
        <currencySymbol>$</currencySymbol>
        <isoCurrencySymbol>USD</isoCurrencySymbol>
      </currency>
      <currencyCultureCode>en-US</currencyCultureCode>
      <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>
        <galleries />
        <inventoryUnitType>1</inventoryUnitType>
        <msrp>10.0000</msrp>
        <name>Default</name>
        <preorderInterval>0</preorderInterval>
        <product>
            <galleries>
              <gallery>
                <alternateText />
                <displayOrder>1000</displayOrder>
                <family>12</family>
                <format>1</format>
                <height>609</height>
                <mediaType>image/jpeg</mediaType>
                <mediaUrl>http://site.com/image.jpg</mediaUrl>
                <width>1000</width>
              </gallery>
            </galleries>
          <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>
      <shippingDistrict />
      <shippingDestinationPoint></shippingDestinationPoint>
      <shippingEmail>customer@localhost.com</shippingEmail>
      <shippingExtension></shippingExtension>
      <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>
      <shippingUnit />
      <status>1</status>
      <userPayment>
        <city>Raleigh</city>
        <company></company>
        <countryCode>US</countryCode>
        <countryName>United States</countryName>
        <creditCardHint></creditCardHint>
        <district />
        <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>
        <unit />
        <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


Powered by Revindex Wiki