integration_documentation:shopware_6

integration_documentation:shopware_6

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
integration_documentation:shopware_6 [2020/10/21 12:03]
dominik
— (current)
Line 1: Line 1:
-===== Shopware 6 plugin integration - EN ===== 
  
-==== Download from Shopware store ==== 
-  * [[https://​store.shopware.com/​en/​fin6494960032131f/​findologic-search-navigation-platform.html|Findologic - Search & Navigation Platform]] 
- 
-==== Installation ==== 
- 
-In the Shopware backend go to //Settings → System → Plugins//, install and activate the plugin. 
- 
-{{:​integration_documentation:​sw6_findologic_plugin.png?​direct|}} 
- 
-Click on //Config// 
- 
-{{:​integration_documentation:​sw6_plugin_config.png?​direct|}} 
- 
-Insert required configuration 
- 
-{{:​integration_documentation:​plugins:​sw6_plugin_config_en.png?​direct|}} 
- 
-=== Configuration === 
- 
-  * **Shopkey:​** Enter the shopkey provided by Findologic - **required** 
-  * **Active:** Activate to enable Findologic search for your shop - **required** 
-  * **Active on category pages:** Activate Findologic on navigation pages - for API integration. 
-  * **Test mode:** This button is shown when the Findologic integration is still in staging mode. Clicking the button will redirect you to the shop frontend, where Findologic can be tested. Please be aware that a successful product export must happen before the test mode can be used. 
-  * **Integration (read only):** This field is set automatically and shows the used integration,​ either Direct Integration or API. 
- 
-=== Direct Integration === 
-Only relevant when the integration type is Direct Integration,​ see //​Integration (read only)// 
- 
-  * **CSS class for search/​navigation:​** In case different Html container should be used for Direct Integration,​ see [[https://​docs.findologic.com/​doku.php?​id=integration_documentation:​direct_integration|documentation]]. 
- 
-=== API === 
-Only relevant when the integration type is API, see //​Integration (read only)// 
- 
-  * **Filter position for search result pages:** The Findologic filters can be placed either on the top or on the left side of the search result. 
- 
- 
-After setting the configuration press the **Save** button on the top right corner. 
- 
-==== Trigger product export ==== 
- 
-The export can be called with  ​ 
-<​code><​SHOP-URL>/​findologic?​shopkey=<​SHOPKEY>&​start=<​NUMBER>&​count=<​NUMBER></​code>​ 
- 
-  * **shopkey:​** <​SHOPKEY>​ provided by Findologic 
-  * **start:** <​NUMBER>​ that should not be lower than zero 
-  * **count:** <​NUMBER>​ that should not be lower than zero 
- 
- 
-This export url has to be set in the Findologic Account [[https://​account.findologic.com/#/​app/​search-navigation/​import-export|Settings]],​ see [[customer_account:​import-export|documentation]]. 
- 
-If you have troubles with the export please contact us at [[support@findologic.com|support@findologic.com]]. 
- 
-The generated XML is validated against our predefined [[https://​raw.githubusercontent.com/​Findologic/​xml-export/​master/​src/​main/​resources/​Findologic.xsd|XSD scheme]] and built with our export library [[https://​github.com/​Findologic/​libflexport|libflexport]]. 
- 
-<​markdown>​ 
-### Extending the plugin 
- 
-Sometimes you want to extend the default behavior of the base plugin. To archive that and still have the possibility to get the latest plugin updates, we've created an [extension plugin](https://​github.com/​findologic/​plugin-shopware-6-extension/​releases). It already contains some code for extending the export logic, but you can also extend the plugin to override search logic or even the templates of filters, such as the category filter. 
- 
-#### Autoloading 
- 
-While composer autoloading is disabled by default, you can always enable it by adding the following line after the class definition in `\FINDOLOGIC\ExtendFinSearch\ExtendFinSearch`. 
-</​markdown>​ 
- 
-<note important>​You only need composer autoloading in case you [[https://​getcomposer.org/​doc/​03-cli.md#​require|require additional composer dependencies]].</​note>​ 
- 
-<​markdown>​ 
-![https://​docs.findologic.com/​lib/​exe/​fetch.php?​t=1603273975&​tok=ddd8c2&​media=integration_documentation:​extension.png](https://​docs.findologic.com/​lib/​exe/​fetch.php?​t=1603273975&​tok=ddd8c2&​media=integration_documentation:​extension.png) 
- 
-#### Upgrading 
- 
-Most of the time we try to not break backwards compatibility while developing the main plugin. Breaking changes to the main plugin, which may break an extension, will only be released in major releases (1.x.x => 2.x.x) and a respective `UPGRADE` guide can be found [on GitHub](https://​github.com/​findologic/​plugin-shopware-6). ​ 
- 
-</​markdown>​