xml_export_documentation:xml_2_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
xml_export_documentation:xml_2_format [2023/04/20 11:11] tobi |
xml_export_documentation:xml_2_format [2023/07/13 09:16] (current) rihad [Using variants in search results] |
||
---|---|---|---|
Line 245: | Line 245: | ||
<note tip>**Using our export toolkit?** | <note tip>**Using our export toolkit?** | ||
- | Creating an url element with [[https://github.com/findologic/libflexport/wiki#url|libflexport]].</note> | + | Creating an overriddenPrice element with [[https://github.com/findologic/libflexport/wiki#overriddenPrice|libflexport]].</note> |
---- | ---- | ||
Line 351: | Line 351: | ||
| | ||
- | === Using <usergroups> to set the visibility of single information relevant for a returned item === | + | === Using usergroups to set the visibility of single information relevant for a returned item === |
- | * By using the ''<usergroups>''-tag you can set specific images, keywords, price etc. | + | * By using the ''usergroups'' attribute you can set specific images, keywords, price etc. |
- | * By using the ''<usergroup>'' attribute within XML tags, you can set specific item information for given ''<usergroups>''. | + | * By using the ''usergroup'' attribute within XML tags, you can set specific item information for given ''usergroups''. |
- | * If no ''<usergroup>'' is requested the default (non-usergroup) value is used for all tags. Therefore default (non-usergroup) tags are required for all elements in the data feed. | + | * If no ''usergroup'' is requested the default (non-usergroup) value is used for all tags. Therefore default (non-usergroup) tags are required for all elements in the data feed. |
- | * If a ''<usergroup>'' is requested the usergroup-specific value is used for all tags. | + | * If a ''usergroup'' is requested the usergroup-specific value is used for all tags. |
* **Example:** If the usergrouphash=" employee " is used -> ''<name usergroup="employee "><![CDATA[Internal product title]]></name>'' the name set for this usergroup is used. | * **Example:** If the usergrouphash=" employee " is used -> ''<name usergroup="employee "><![CDATA[Internal product title]]></name>'' the name set for this usergroup is used. | ||
* If an item has no usergroup-specific value for a tag then the default (non-usergroup) value is used. | * If an item has no usergroup-specific value for a tag then the default (non-usergroup) value is used. | ||
Line 367: | Line 367: | ||
=== Recommendation === | === Recommendation === | ||
- | * In case of more than 128 ''<usergroups>'', please contact [[mailto:support@findologic.com|support@findologic.com]], in order to adjust default settings. | + | * In case of more than 128 ''<groups>'', please contact [[mailto:support@findologic.com|support@findologic.com]], in order to adjust default settings. |
* To avoid potential misunderstandings, preferably use alphanumeric values for usergroups (e.g. ''18plus'', ''B2B''). | * To avoid potential misunderstandings, preferably use alphanumeric values for usergroups (e.g. ''18plus'', ''B2B''). | ||
Line 373: | Line 373: | ||
<note tip>**Using our export toolkit?** | <note tip>**Using our export toolkit?** | ||
- | Creating an ''<usergroup>'' element with [[https://github.com/findologic/libflexport/wiki#usergroup|libflexport]].</note> | + | Creating an ''<group>'' element with [[https://github.com/findologic/libflexport/wiki#group|libflexport]].</note> |
==== bonuses ==== | ==== bonuses ==== | ||
Line 486: | Line 486: | ||
<note tip>**Using our export toolkit?** | <note tip>**Using our export toolkit?** | ||
- | Creating a sort element with [[https://github.com/findologic/libflexport/wiki#sort|libflexport]].</note> | + | Creating a visibility element with [[https://github.com/findologic/libflexport/wiki#visibility|libflexport]].</note> |
---- | ---- | ||
Line 677: | Line 677: | ||
* attributes, required | * attributes, required | ||
* name, optional | * name, optional | ||
- | * price, optional. In case it is not set, the parent price will be used as default. | + | * price, optional. (In case it is not set, the parent price will be used as default.) |
* groups, optional. | * groups, optional. | ||
* overriddenPrice, optional | * overriddenPrice, optional | ||
* properties, optional | * properties, optional | ||
+ | * urls, optional | ||
+ | * images, optional | ||
+ | |||
<note important>No other fields are allowed.</note> | <note important>No other fields are allowed.</note> | ||
Line 686: | Line 689: | ||
<note tip>Currently it is not possible to use variants and usergroups together. | <note tip>Currently it is not possible to use variants and usergroups together. | ||
Variants only work without usergroups. But using groups is still possible. So filtering by group is working fine.</note> | Variants only work without usergroups. But using groups is still possible. So filtering by group is working fine.</note> | ||
+ | |||
+ | <note tip>**Using our export toolkit?** | ||
+ | |||
+ | Creating a variant element with [[https://github.com/findologic/libflexport/wiki#variants|libflexport]].</note> | ||
+ | |||
==== Example XML ==== | ==== Example XML ==== | ||