In order for Shopware6 to make Boxalino API requests from the context of CMS pages, the Boxalino API Narrative CMS element must be used.
The CMS element is part of the Framework Layer repository.
The CMS element is part of the Commerce Block category.
Once added on a Layout, the CMS element must be configured
Configurations
Property | Required | Description | |
---|---|---|---|
1 | Widget | yes | The widget property on the API Request Schema
|
2 | Sidebar Layout | no | If set to yes - the API Request will have a context parameter position:sidebar
|
3 | Nr of products returned | yes | The hitCount property on the API Request Schema https://boxalino.atlassian.net/wiki/spaces/BPKB/pages/8749643/Narrative+API+-+Technical+Reference#Base-parameters |
4 | Group by (field name) | yes (default provided) | The groupBy property on the API Request Schema https://boxalino.atlassian.net/wiki/spaces/BPKB/pages/8749643/Narrative+API+-+Technical+Reference#Typical-parameters |
5 | Apply Request Parameters | yes | If set to yes - the API request will read the page URL and set the facets
|
6 | Returned Fields | no (default provided) | The returnFields property on the API Request Schema https://boxalino.atlassian.net/wiki/spaces/BPKB/pages/8749643/Narrative+API+-+Technical+Reference#Typical-parameters
|
7 | Filters | no |
|
8 | Category Filter | no (default provided) | Setting a category ID as a filter
|
9 | Category List for Filters | no | When the “Category Filter” option is set to “Custom category IDs”, add the category IDs (HEX) divided by a comma (,) |
10 | Facets | no | List of custom facet filters on the CMS element (ex: products_brand=Killing Inc|Mann Inc,products_size=37 ):
|
Add Comment