How to do webstore conversions with xpaths

When receiving in values from a webstore, instead of writing long xpaths with different conversion formulae,  you can make and path then use the Acctivate converison tool. Conversions will take place after the value of the xpath is evaluated. As an example, we will use a Magento webstore and make a conversion on the store_id and which branch matches with it.

  1. Go to Webstore > Configure > Choose your webstore template > EDIT
  2.  Click the NEXT button until you reach the mapping screen. If this window does not appear, then ensure on the previous “Option” window, “Show Advanced Configuration settings = YES”.
  3. Evaluate the path in the xml you want to use. In this example, we will use the predefined path for webstore_id. For more information on creating a new xpath that isn’t already in the mapping list, click here.
  4. Once you have your path, click NEXT to the “Mapping” window.
  5. Wherever the value should be placed on the Sales order or customer window, click the Value drop down and choose the name of the xpath you created or was provided on the mapping window. For store_id, we will assign it to the BRANCH.
  6. Once assigned to the a field, click on the CONVERSIONS button at the bottom of the window.
  7. The table represents the FROM value on the left, and the TO value on the right. Store_id may come in as “1” or “2” from the store, thus we will change from “1” to “Fort Worth” and from “2” to “Dallas”. Should appear like the example below.
  8. Once that’s set, click next and click IMPORT ORDERS. The conversion will now take place on the path specified.

 

Posted in Technology, Web Store Integration - Last modified on August 24, 2017Eva Rhees
Still need help?
Search all content on this site, contact support at 817-870-1311, or create a support request.