Webstore Configuration – Adding Xpaths

When importing in sales orders or customers from a webstore, Acctivate uses a query language called “XPath” to map information from a given XML file. When setting up a webstore template, these xpaths are generally predefined but there might be cases where you need to access information that’s not currently mapped or deviates from the standard XPath setup for that webstore.

In general, once a xpath is added on the SOURCE VALUES window then you will be able to place it in it’s respective window (Sales order or customer window) in Acctivate on the MAPPING section.

To view the current XPath configuration, click on Web Stores at the top > Web Store Sync > Configure.

template-edit

 

That should bring up a “Configure Web Stores” window where you can choose a webstore template (if you have multiple templates). Choose the template by clicking on it and click EDIT.

configure-web-template

 

Click Next on the Modify Window > Click Next on Source Window. When viewing the Options window, Ensure “show advanced Configuration settings” = “YES”. This will allow use to view the Xpath configuration on the next Page. Click NEXT

advanced-options

 

The Source values window shows all the XPath paths, and their related paths. There should be some already filled in as those are the default xpaths for that particular webstore.

souce-values-window

 

When looking to add a new path to the current configuration ensure the sub document is correct on the top left. If you want a new path for Orders, set the sub document = “Order”, and  scroll all the way at the bottom of the “values” section. A new line will appear where you can add a new Name, Match (which is the path to the value in the xml), and it’s select statement.

new-xpath

 

For information on how to get a match with in xml file or what each box means click here.

If you want to jump straight into xpath operators click here.

 

 

 

Tagged with: , , ,
Posted in Add-On Modules, Sales, Technology, Web Store Integration - Last modified on September 28, 2016daniel.stenbro
Still need help?
Search all content on this site, contact support at 817-870-1311, or create a support request.