Search

Index

Revindex Storefront

Right receipt email

Voucher receipt is used to send an email to the customer their voucher codes. By default, the Storefront will send the invoice to the registered email address and billing address of the buyer.

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>recipient@localhost.com</generalEmailRecipient>
    <generalEmailSender>test@example.com</generalEmailSender>
    <generalStoreName>Revindex Storefront</generalStoreName>
  </configuration>
  <manageRight>
    <tabUrl>https://site.com/pageorder</tabUrl>
  </manageRight>
  <portal>
    <cartTabs>
      <tab>
        <tabID>57</tabID>
      </tab>
    </cartTabs>
    <checkoutTabs>
      <tab>
        <tabID>61</tabID>
      </tab>
    </checkoutTabs>
    <manageOrderTabs>
      <tab>
        <tabID>62</tabID>
      </tab>
    </manageOrderTabs>
    <manageRightTabs>
      <tab>
        <tabID>176</tabID>
      </tab>
    </manageRightTabs>
    <portalAliases>
      <portalAlias>
        <cultureCode></cultureCode>
        <httpAlias>site.com</httpAlias>
        <isPrimary>true</isPrimary>
        <portalAliasID>1</portalAliasID>
      </portalAlias>
    </portalAliases>
    <portalID>0</portalID>
  </portal>
  <salesOrder>
    <billingCity>Beverley Hills</billingCity>
    <billingCompany>Revindex</billingCompany>
    <billingCountryCode>US</billingCountryCode>
    <billingCountryName>United States</billingCountryName>
    <billingEmail>text@example.com</billingEmail>
    <billingFirstName>John</billingFirstName>
    <billingLastName>Doe</billingLastName>
    <billingPhone>111-111-1111</billingPhone>
    <billingPostalCode>90210</billingPostalCode>
    <billingStreet>1 Melrose</billingStreet>
    <billingSubdivisionCode>US-CA</billingSubdivisionCode>
    <billingSubdivisionName>California</billingSubdivisionName>
    <businessTaxNumber>GB 123456789</businessTaxNumber>
    <couponCodes>
      <couponCode>free2</couponCode>
    </couponCodes>
    <cultureCode>en-US</cultureCode>
    <currency>
      <currencySymbol>$</currencySymbol>
      <isoCurrencySymbol>USD</isoCurrencySymbol>
    </currency>
    <currencyCultureCode>en-US</currencyCultureCode>
    <dynamicFormResult>
      <fields>
        <field id="CustomName">Name1</field>
        <field id="CustomText">MyText</field>
        <field id="CustomColor">
          <selected>Red</selected>
          <selected>Blue</selected>
        </field>
        <field id="CustomSize">
          <selected>XL</selected>
        </field>
      </fields>
    </dynamicFormResult>
    <exchangeRate>1.0000</exchangeRate>
    <formattedSubTotalAmount>$10.00</formattedSubTotalAmount>
    <formattedTotalAmount>$20.00</formattedTotalAmount>
    <formattedTotalHandlingAmount>$9.00</formattedTotalHandlingAmount>
    <formattedTotalSalesOrderDetailDiscountAmount>$0.00</formattedTotalSalesOrderDetailDiscountAmount>
    <formattedTotalSavingsAmount>$0.00</formattedTotalSavingsAmount>
    <formattedTotalShippingAmount>$1.00</formattedTotalShippingAmount>
    <formattedTotalTaxAmount></formattedTotalTaxAmount>
    <handlingAmount>9.00</handlingAmount>
    <handlingDiscountAmount>0</handlingDiscountAmount>
    <orderDate>2001-01-01T12:00:00</orderDate>
    <origin>1</origin>
    <parentSalesOrderID></parentSalesOrderID>
    <purchaseOrderNumber></purchaseOrderNumber>
    <rewardsPointsQualified>0</rewardsPointsQualified>
    <salesOrderGUID>F2CB78A0-5B3B-489a-9E62-006372ACAE34</salesOrderGUID>
    <salesOrderNumber>SA1000</salesOrderNumber>
    <salesPaymentStatus>1</salesPaymentStatus>
    <seller>
      <city>Beverley Hills</city>
      <countryCode>US</countryCode>
      <email>test@example.com</email>
      <phone>111-111-1111</phone>
      <postalCode>90210</postalCode>
      <street>1 Melrose</street>
      <subdivisionCode>US-CA</subdivisionCode>
    </seller>
    <sellerID>1</sellerID>
    <shippingAmount>1.00</shippingAmount>
    <shippingCity>Beverley Hills</shippingCity>
    <shippingCompany>Revindex</shippingCompany>
    <shippingCountryCode>US</shippingCountryCode>
    <shippingCountryName>United States</shippingCountryName>
    <shippingDestinationPoint></shippingDestinationPoint>
    <shippingDiscountAmount>0</shippingDiscountAmount>
    <shippingEmail>text@example.com</shippingEmail>

    <shippingExtension></shippingExtension>
    <shippingFirstName>John</shippingFirstName>
    <shippingLastName>Doe</shippingLastName>
    <shippingMethod>
      <name>Ground</name>
    </shippingMethod>
    <shippingMethodID>2</shippingMethodID>
    <shippingPhone>111-111-1111</shippingPhone>
    <shippingPostalCode>90210</shippingPostalCode>
    <shippingStatus>1</shippingStatus>
    <shippingStreet>1 Melrose</shippingStreet>
    <shippingSubdivisionCode>US-CA</shippingSubdivisionCode>
    <shippingSubdivisionName>California</shippingSubdivisionName>
    <shippingTrackingCode>GH88888</shippingTrackingCode>
    <status>2</status>
    <subTotalAmount>10.00</subTotalAmount>
    <subTotalAmountWithTax>10.00</subTotalAmountWithTax>
    <taxAmount1>0.00</taxAmount1>
    <taxAmount2>0.00</taxAmount2>
    <taxAmount3>0.00</taxAmount3>
    <taxAmount4>0.00</taxAmount4>
    <taxAmount5>0.00</taxAmount5>
    <taxDiscountAmount>0</taxDiscountAmount>
    <totalAmount>20.00</totalAmount>
    <totalHandlingAmount>9.00</totalHandlingAmount>
    <totalHandlingAmountWithTax>9.00</totalHandlingAmountWithTax>
    <totalSalesOrderDetailDiscountAmount>0.00</totalSalesOrderDetailDiscountAmount>
    <totalSavingsAmount>0.00</totalSavingsAmount>
    <totalShippingAmount>1.00</totalShippingAmount>
    <totalShippingAmountWithTax>1.00</totalShippingAmountWithTax>
    <userHostAddress>127.0.0.1</userHostAddress>
    <warehouse>
      <city>Beverley Hills</city>
      <countryCode>US</countryCode>
      <email></email>
      <phone></phone>
      <postalCode>90210</postalCode>
      <street>1 Melrose</street>
      <subdivisionCode>US-CA</subdivisionCode>
    </warehouse>
    <warehouseID>1</warehouseID>
  </salesOrder>
  <user>
    <email>user@address.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></Photo>
        <PostalCode>90210</PostalCode>
        <PreferredLocale>en-US</PreferredLocale>
        <Prefix></Prefix>
        <Region>California</Region>
        <Street>1 Melrose</Street>
        <Suffix></Suffix>
        <Telephone>111-111-1111</Telephone>
        <TimeZone>0</TimeZone>
        <Unit></Unit>
        <Website></Website>
      </profileProperties>
    </profile>
    <roles>
      <role>Role1</role>
      <role>Role2</role>
    </roles>
    <userHostAddress>127.0.0.1</userHostAddress>
    <userID>1</userID>
    <username>host</username>
  </user>
  <rights>
    <right>
      <code>VKMO2XTJKPZUNGPB</code>
      <issueDate>2013-10-23T10:17:34</issueDate>
      <rightDefinition>
        <name>License key</name>
        <description></description>
      </rightDefinition>
      <rightDefinitionID>7</rightDefinitionID>
    </right>
  </rights>
</in>

Comments


Powered by Revindex Wiki