Table of Contents | ||||
---|---|---|---|---|
|
Context
Info |
---|
In order to enable context (e.g. add different prices or links depending on user location or any other context information), you will have to make corresponding changes in your CSV file (the information file you are uploading into your PIM account), as well as in your integration code. |
Adding context information to your CSV file when uploading it into your PIM account
Now, context is supported for the following fields:
Application_type (product with this field specified like “wall, floor” can be applied both on walls and floor)
Regular_price (you can specify different prices for different users depending on their location (city/country))
Promotional_price (you can specify different promotional prices for different users depending on their location (city/country))
Article_link (you can specify links to different websites basing on the context you need)
Currency_by_context (you can specify different currencies for different users depending on their location (country))
When importing the CSV file with the context fields, please specify the context itself and other context fields in quotes by dividing meanings with commas:
...
Expand | ||
---|---|---|
| ||
You have wallpapers and 2 websites. For example, 1 website for Russia and 2 websites for the UK, you have the following URLs: https://kates_wallpaper.ru/ |
Info |
---|
...
The functionality enabling you to add the context fields to the already uploaded products in your PIM account is currently being developed. Once it is released, we will update you in our release notes. In case you have any questions, please contact support@wizart.ai. |
Locale
We add the language name to the file name as carpet_en.csv or carpet_en-US.csv. If there is no language specified, the client's default language is taken by default.
For example:
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
These CSV files need to be uploaded to your PIM account, therefore a CSV file with the suffix _en
is English localization, _de
is German.