You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-81Lines changed: 32 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ process. The second chapter *Backend Configuration* explains the customisation o
9
9
final chapter *Web Component Integration* describes how the web components interact with the shop system and how to
10
10
customise them.
11
11
12
+
Our Oxid plugin offers a basic working integration for default Oxid Apex theme.
13
+
Most projects may require modifications in order to fit their needs.
14
+
For more advanced features please check our official [WebComponnents documentation](https://web-components.fact-finder.de/documentation/5.x/install-dist).
- [Update Field Roles Button](#update-field-roles)
23
27
-[Advanced Settings](#advanced-settings)
24
-
-[Proxy](#proxy)
25
28
-[Features Settings](#features-settings)
26
29
-[Using FACT-Finder® on category pages](#using-fact-finder-on-category-pages)
27
30
-[Feed Settings](#feed-settings)
@@ -40,8 +43,8 @@ customise them.
40
43
-[License](#license)
41
44
42
45
## Requirements
43
-
- OXID eShop 7.0
44
-
- PHP version 8.0 or higher
46
+
- OXID eShop 7.0 or higher
47
+
- PHP version 8.1 or higher
45
48
46
49
**Note:** For Oxid eShop 6.x and PHP 7, please use SDK version 4.x
47
50
@@ -82,111 +85,59 @@ Configuration set here is used by both Web Components and during the server side
82
85
Credentials you will be given should be placed here.
83
86
84
87
* Server URL - FACT-Finder® instance url
85
-
**Note:** Server URL should contain a used protocol: (e.g. `https://`) and should end with an endpoint specific for a given version (e.g. in version 7.3 its `FACT-Finder-7.3`, in NG `fact-finder`)
88
+
**Note:** Server URL should contain a used protocol: (e.g. `https://`) and should end with `fact-finder`(e.g. `https://my-domain.fact-finder.de/fact-finder`)
86
89
* Channel - Channel you want to serve data from
87
90
**Note** The number of channel fields is adjusted to the number of active languages used in application. Please make sure you set a correct channel for a given language.
88
-
* Username - for importing data to FF
89
-
* Password - for importing data to FF
90
-
* Username - for fetching data from FF
91
-
* Password - for fetching data from FF
92
-
* Authorization Prefix
93
-
* Authorization Postfix
94
-
**Note:** FACT-Finder® NG does not require fields `Authorization Prefix` and `Authorization Postfix` to be set. Please omit these fields in this case.
95
-
* Version - Used FACT-Finder® version
96
-
**Note:** Module supports FACT-Finder® from version 6.9 up to NG. by selecting the wrong version you may cause the Web Components to be unable to communicate with FACT-Finder®
97
-
* API Version - Used FACT-Finder® api version
98
-
**Note:** Module supports FACT-Finder® api version `v4` and `v5`. By selecting the wrong api version you may cause the Web Components to be unable to communicate with FACT-Finder®
91
+
* Username for the FACT-Finder Import - your username in FACT-Finder account (necessary if you want to automatically execute import data in FACT-Finder).
92
+
* Password for the FACT-Finder Import - your password in FACT-Finder account
93
+
* FACT-Finder API key - for fetching data from FF (necessary to use Web Components integration)
By clicking the `Test Connection` button you can check if your credentials are correct.
106
-
This functionality uses form data, so there is no need to save first.
107
-
**Note:** This functionality uses `de` channel input value.
99
+
#### Update Field Roles Button
100
+
This functionality allows you to update field roles if you have changed them in FACT-Finder.
101
+
The field roles are by default configured accordingly to the columns exported by the module.
102
+
If you are about change one of the column name that serves as a role e.g. `Master` or `ProductNumber`, that holds the `Master article number` and `Product number` roles respectively, please remember to update the field roles with that functionality
108
103
109
104
#### Export Feed Button
110
-
It is a one of possible ways of exporting feed. You can find more details in section [Admin Panel Export](#admin-panel-export)
105
+
It is a one of possible ways of exporting feed. You can find more details in section [Admin Panel Export](#admin-panel-export)
106
+
107
+
#### Test Connection Button
108
+
By clicking the `Test Connection` button you can check if your FACT-Finder API key is correct and SDK could connect with FACT-Finder API successfully.
109
+
This functionality uses form data, so there is no need to save first.
110
+
**Note:** This functionality uses `de` channel input value.
111
111
112
112
#### Test FTP Connection Button
113
113
This functionality allows you to test if your shop can successfully connect to configured FTP/SFTP server.
114
114
It uses parameters passed down with the request so there is no need to save the configuration before.
115
115
116
-
#### Update Field Roles Button
117
-
This functionality allows you to update field roles if you have changed them in FACT-Finder.
118
-
The field roles are by default configured accordingly to the columns exported by the module.
119
-
If you are about change one of the column name that serves as a role e.g. `Master` or `ProductNumber`, that holds the `Master article number` and `Product number` roles respectively, please remember to update the field roles with that functionality
116
+
#### Test Push Import Button
117
+
By clicking the `Test Push Import` button you can check if your FACT-Finder username and password is correct.
118
+
This functionality uses form data, so there is no need to save first.
119
+
**Note:** This functionality uses `de` channel input value.
*`Use URL params?` - check this option if you want Web Components to push each used query parameter to the URL,
124
-
*`Additional parameters` - here you can define extra parameters for each of these properties: `add-params`, `add-tracking-params`, `keep-url-params`, `parameter-whitelist`.
125
-
Values will be passed to the Web Components and used in communication.
126
-
You can find more information about mentioned properties purposes in Web Components [documentation](https://web-components.fact-finder.de/api/3.x/ff-communication#tab=api).
127
-
*`Anonymize User ID?` - check this option if you want to send user id with tracking requests in anonymized form. By default the regular id field from user table is sent.
128
-
*`Use Proxy` - check this option if you want each request sends by Web Components first reach the dedicated module controller which forwards it to the FACT-Finder.
129
-
**Note:** If you plan to use proxy, consider reading below paragraph as it requires full instruction how to enable it properly.
124
+
*`Anonymize User ID?` - check this option if you want to send user id with tracking requests in anonymized form. By default the regular id field from user table is sent.
130
125
*`How to count single click on "Add to cart" button?` - select how would you like to count single click on "Add to cart" button
131
126
*`Send the SID as userId when user not logged in?`
132
127
133
-
#### Proxy
134
-
Proxy feature adds a oxid controller which serves as a middleware between Web Components and FACT-Finder®.
135
-
The data flow with proxy enabled is illustrated by the graph below.
*`Use FACT-Finder® for category pages?` - check this option to use Web Components in category pages. More information in separate paragraph.
132
+
*`Category Path field name` - by default, the module uses a field named `CategoryPath` (default category field name for FactFinder instance). If in your FactFinder instance configuration you have a different field name for Category field then you must set this name here.
181
133
* Campaigns - enables `ff-campaign-product` on product page and `ff-campaign-feedbacktext`, `ff-campaign-shopping-cart`on cart page
182
134
* Recommendations - enables `ff-recommendation` on product page
183
135
* Similar products - enables `ff-similar-products` on product page
184
-
* Pushed products - enables `ff-campaign-pushed-products>` on cart page
185
-
* Disable cache - controls the usage of search result caches
136
+
* Pushed products - enables `ff-campaign-pushed-products>` on cart page
186
137
187
138
### Using FACT-Finder® on category pages
188
139
Module in order to preserve categories URLs and hence SEO get use of standard Oxid routing with the combination of FACT-Finder® availability to pass custom parameters to search request.
189
-
Once user lands on category page search event is emitted immediately (thanks to `search-immediate` communication parameter usage).
140
+
Once user lands on category page search event is emitted immediately.
@@ -283,13 +234,13 @@ Here you can find a full [Tracking Guide](https://web-components.fact-finder.de/
283
234
This module follows that guide in order to provide tracking of following events:
284
235
285
236
### Login
286
-
This event is tracked automatically by the `ff-communication` element upon receiving `uid` attribute.
237
+
This event is tracked automatically by SDK.
287
238
288
239
### Click on Product
289
240
This event is tracked automatically by the `ff-record` element bindings. **Note:** for this to work a directive `data-redirect` has to be added
290
241
291
242
### Add Product to Cart
292
-
We offer a `registerAddToCartListener` function which helps to register `click` events on form submit buttons. **Note:** Example usage can be found in `src/views/frontend/blocks/campaign/product.tpl`
243
+
We offer a `registerAddToCartListener` function which helps to register `click` events on form submit buttons. **Note:** Example usage can be found in `views/twig/extensions/themes/default/page/details/inc/productmain.html.twig`
293
244
294
245
### Place an Order
295
246
This event is tracked by the `ff-checkout-tracking` element which is implemented on order confirmation page
0 commit comments