Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel1

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.

How to add context information to integration code.

Adding context information to your CSV file when uploading it into your PIM account

Now, context is supported for the following fields:

  1. Application_type (product with this field specified like “wall, floor” can be applied both on walls and floor)

  2. Regular_price (you can specify different prices for different users depending on their location (city/country))

  3. Promotional_price (you can specify different promotional prices for different users depending on their location (city/country))

  4. Article_link (you can specify links to different websites basing on the context you need)

  5. 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
titleExample

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/

https://kates_wallpaper.en/

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
nametest-locale_de.csv
View file
nametest-locale_en.csv

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.