xml_export_documentation:xml_format

xml_export_documentation:xml_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xml_export_documentation:xml_format [2021/02/24 14:46]
florian [ordernumbers]
xml_export_documentation:xml_format [2023/02/22 13:03] (current)
rihad old revision restored (2022/05/11 14:19)
Line 48: Line 48:
 ^**''<​[[#​dateAddeds]]>''​**| Date current article was added | Yes | No | No | ^**''<​[[#​dateAddeds]]>''​**| Date current article was added | Yes | No | No |
 ^**''<​[[#​sorts]]>''​**| Value for custom sorting of search results | No | No | No | ^**''<​[[#​sorts]]>''​**| Value for custom sorting of search results | No | No | No |
 +^**''<​[[#​visibilities]]>''​**| Indicates the visibility of all/some products | No | No | No |
 ^**''<​[[#​attributes]]>''​**| Article categories and attributes. Will be filters | Yes | Yes| Yes, **also filterable** | ^**''<​[[#​attributes]]>''​**| Article categories and attributes. Will be filters | Yes | Yes| Yes, **also filterable** |
 ^**''<​[[#​properties]]>''​**| Additional information of article to be shown on search result listing | Yes | Yes | No | ^**''<​[[#​properties]]>''​**| Additional information of article to be shown on search result listing | Yes | Yes | No |
Line 78: Line 79:
  
 <note important>​Due to runtime limitations the XML-export has to be [[https://​docs.findologic.com/​doku.php?​id=xml_export_documentation:​xml_request_and_response|paginated]].</​note>​ <note important>​Due to runtime limitations the XML-export has to be [[https://​docs.findologic.com/​doku.php?​id=xml_export_documentation:​xml_request_and_response|paginated]].</​note>​
 +
 +<note important>​You have to use double quotes to seperate XML attributes like "​count"​ or "​total"​. Single quotes are not supported at the moment.</​note>​
  
 <note tip>​**Using our export toolkit?** <note tip>​**Using our export toolkit?**
Line 382: Line 385:
   * ''<​salesFrequency>''​ contains a non-negative integer value for the salesfrequency which can be used for sorting.   * ''<​salesFrequency>''​ contains a non-negative integer value for the salesfrequency which can be used for sorting.
   * If you want your default order to be dynamically calculated including the exported ''<​salesFrequency>''​-values,​ please contact our support team.    * If you want your default order to be dynamically calculated including the exported ''<​salesFrequency>''​-values,​ please contact our support team. 
- 
-<​note>​Please note, that negative values will be overridden with the value 0 in the import.</​note> ​ 
  
 <note tip>​**Using our export toolkit?** <note tip>​**Using our export toolkit?**
Line 429: Line 430:
   * ''<​sorts>''​ contains 1+ ''<​sort>''​-tags,​ distinguished via the usergroup-attribute.   * ''<​sorts>''​ contains 1+ ''<​sort>''​-tags,​ distinguished via the usergroup-attribute.
   * ''<​sort>''​ contains a custom integer value which can be used for sorting.   * ''<​sort>''​ contains a custom integer value which can be used for sorting.
-  * If you want your default order to be dynamically calculated including the exported ''<​salesFrequency>''​-values,​ please contact our support team. +  * If you want your default order to be dynamically calculated including the exported ''<​sort>''​-values,​ please contact our support team. 
   * You should not use negative values as ''<​sort>''​-values.  ​   * You should not use negative values as ''<​sort>''​-values.  ​
 +
 +<note tip>​**Using our export toolkit?**
 +
 +Creating a sort element with [[https://​github.com/​findologic/​libflexport/​wiki#​sort|libflexport]].</​note>​
 +
 +----
 +
 +==== visibilities ====
 +
 +<code xml>
 +[...]
 +<​visibilities>​
 +  <​visibile><​![CDATA[]]></​visibile>​
 +  <​visibile usergroup=""><​![CDATA[]]></​visibile>​
 +  [...]
 +</​visibilities>​
 +[...]
 +</​code>​
 +
 +  * ''<​visibilities>''​ contains 1+ <​visible>​-tags,​ distinguished via the usergroup-attribute.
 +  * ''<​visible>''​ must contain lowercase **true** (or **1** as a replacement) for visible initial state or lowercase **false** (or **0** as a replacement) for invisible initial state.
 +  * The default value of the default visible element (non-usergroup) is true if it did not exist.
 +  * The default value of a visible element with the usergroup tag is the same value of the default visible element if it did not exist.
 +  * If the visible element value is blank or one of the values (True, faLse, yes, no, -1 ….) , this will cause validation errors.
  
 <note tip>​**Using our export toolkit?** <note tip>​**Using our export toolkit?**