Search

Index

Revindex Storefront

Product inventory update

Customers with saved favorites can be notified when the product inventory has been restored.

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>
    <generalEmailSender>test@example.com</generalEmailSender>
    <generalStoreName>Revindex Storefront</generalStoreName>
  </configuration>
  <manageFavorite>
    <tabUrl>https://site.com/page</tabUrl>
  </manageFavorite>
  <portal>
    <cartTabs>
      <tab>
        <tabID>57</tabID>
      </tab>
    </cartTabs>
    <checkoutTabs>
      <tab>
        <tabID>61</tabID>
      </tab>
    </checkoutTabs>
    <portalAliases>
      <portalAlias>
        <cultureCode>en-US</cultureCode>
        <httpAlias>site.com</httpAlias>
        <isPrimary>true</isPrimary>
        <portalAliasID>1</portalAliasID>
      </portalAlias>
    </portalAliases>
    <portalID>0</portalID>
  </portal>
  <user>
    <firstName>John</firstName>
    <lastName>Doe</lastName>
    <userID>1</userID>
    <username>host</username>
    <roles>
      <role>Role 1</role>
      <role>Role 2</role>
    </roles>
    <email>user@address.com</email>
    <profile>
      <profileProperties>
        <Prefix />
        <FirstName>John</FirstName>
        <MiddleName />
        <LastName>Doe</LastName>
        <Suffix />
        <Unit />
        <Street>1 Melrose</Street>
        <City>Beverly Hills</City>
        <Region>261</Region>
        <Country>219</Country>
        <PostalCode>90210</PostalCode>
        <Telephone>1111111111</Telephone>
        <Cell />
        <Fax />
        <Website />
        <IM />
        <Biography />
        <PreferredTimeZone>Pacific Standard Time</PreferredTimeZone>
        <PreferredLocale>en-US</PreferredLocale>
        <Photo>-1</Photo>
      </profileProperties>
    </profile>
  </user>
  <productVariant>
    <basePrice>70.5000</basePrice>
    <galleries />
    <inventory>1</inventory>
    <inventoryUnitType>1</inventoryUnitType>
    <mainThumbnailGallery>
      <alternateText />
      <displayOrder>1000</displayOrder>
      <family>12</family>
      <format>3</format>
      <height>183</height>
      <mediaType>image/jpeg</mediaType>
      <mediaUrl>http://site.com/image.jpg</mediaUrl>
      <width>300</width>
    </mainThumbnailGallery>
    <msrp />
    <name></name>
    <previousInventory>0</previousInventory>
    <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>1 &amp; Me</name>
      <productDetail>
        <tabUrl>http://site.com/page</tabUrl>
      </productDetail>
      <summary></summary>
    </product>
    <productDetail>
      <tabUrl>http://site.com/page</tabUrl>
    </productDetail>
    <sku></sku>
    <summary></summary>
    <warehouse />
    <warehouseID />
  </productVariant>
</in>

Comments


Powered by Revindex Wiki