customer_account:template_manager:template_manager_variables:result_variables
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
customer_account:template_manager:template_manager_variables:result_variables [2018/05/30 16:38] markus [Items of the RESULT array] |
customer_account:template_manager:template_manager_variables:result_variables [2020/09/22 12:25] (current) pavel [Items of the RESULT array] |
||
---|---|---|---|
Line 16: | Line 16: | ||
^ Variable ^ Type ^ Brief description ^ | ^ Variable ^ Type ^ Brief description ^ | ||
- | | ''ITEM.ID'' | string | The unique item ID as submitted in the [[export_patterns:csv|CSV]] or [[export_patterns:xml|XML]]. | | + | | ''ITEM.ID'' | string | The unique item ID as submitted in the [[csv_export_documentation:csv_format|CSV]] or [[xml_export_documentation:xml_format|XML]]. | |
- | | ''ITEM.ORDERNUMBER'' | string | The ordernumber as submitted in the [[export_patterns:csv|CSV]] or [[export_patterns:xml|XML]]. | | + | | ''ITEM.ORDERNUMBER'' | string | The ordernumber as submitted in the [[csv_export_documentation:csv_format|CSV]] or [[xml_export_documentation:xml_format|XML]]. | |
+ | | ''ITEM.MATCHING_ORDERNUMBER'' | string | The ordernumber of the product in case it matches the query. | | ||
| ''ITEM.TITLE'' | string | The item name with emphasis of terms found ''flemphasis''((If search term highlighting is activated)) . | | | ''ITEM.TITLE'' | string | The item name with emphasis of terms found ''flemphasis''((If search term highlighting is activated)) . | | ||
| ''ITEM.TITLE_WITHOUT_HIGHLIGHTING'' | string | The item name without emphasis of terms found. | | | ''ITEM.TITLE_WITHOUT_HIGHLIGHTING'' | string | The item name without emphasis of terms found. | | ||
Line 23: | Line 24: | ||
| ''ITEM.PRICE'' | number | The currently applicable gross price of the item, e.g. offer price. | | | ''ITEM.PRICE'' | number | The currently applicable gross price of the item, e.g. offer price. | | ||
| ''ITEM.OVERRIDDEN_PRICE'' | number | The normal price, RRP, etc. | | | ''ITEM.OVERRIDDEN_PRICE'' | number | The normal price, RRP, etc. | | ||
- | | ''ITEM.IMAGE'' | string | The URL of the item thumbnail image. | | + | | ''ITEM.IMAGE'' | string | The URL of the item thumbnail image. If there are many images in the feed - all of them will be presented in the properties with index after ''image'': ''$RESULT.PROPERTIES.image0'', ''$RESULT.PROPERTIES.image1'' etc. | |
| ''ITEM.URL'' | string | The URL of the item detail page. | | | ''ITEM.URL'' | string | The URL of the item detail page. | | ||
| ''ITEM.TAX_RATE'' | number | The tax rate of the item. | | | ''ITEM.TAX_RATE'' | number | The tax rate of the item. | | ||
| ''ITEM.PROPERTIES'' | struct | The structure with the contents of the optional columns of the CSV ((E.G.: If an additional detail column is defined in the CSV for each item, ITEM.PROPERTIES.detail contains the respective value; the content of the vendor attribute remains set in ITEM.PROPERTIES.vendor)). | | | ''ITEM.PROPERTIES'' | struct | The structure with the contents of the optional columns of the CSV ((E.G.: If an additional detail column is defined in the CSV for each item, ITEM.PROPERTIES.detail contains the respective value; the content of the vendor attribute remains set in ITEM.PROPERTIES.vendor)). | | ||
- | | ''ITEM.ATTRIBUTES'' | struct | The structure with the attributes configured to be outputted in the template. This is only recommended to be use this if you would have duplicate content in properties and attributes. See [[export_patterns:xml|documentation of properties]].| | + | | ''ITEM.ATTRIBUTES'' | struct | The structure with the attributes configured to be outputted in the template. It is only recommended to use this if you have duplicate content in properties and attributes. See [[xml_export_documentation:xml_format|documentation of properties]].| |
==== Code example ==== | ==== Code example ==== | ||
- | Here is a small code example that goes threw all products and prints them out in the search result. | + | Here is a small code example that iterates through all products and prints them out in the search result. |
<code smarty> | <code smarty> |