Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


For example, you have SiteAB, SiteBC, SiteDE:

Article Context

Article_promotional_price

Name

“SiteAB, SiteBC, SiteDE“

“50,220,50“

Article1

“SiteAB, SiteBC“

“51,221“

Article2

“SiteAB“

“52“

Article3

  1. For this src:
    https://pim-client.wizart.ai/fitting-room?api_token=your_API_token&en all products will be displayed.

Code Block
<iframe
id="wizart-fitting-room-object"
role="dialog"
aria-label="Wizart Fitting Room."
type="text/html"
class="active"
src="https://pim-client.wizart.techai/fitting-room?api_token=your_API_token&en"
allowfullscreen
>
</iframe>

...

Code Block
<iframe
id="wizart-fitting-room-object"
role="dialog"
aria-label="Wizart Fitting Room."
type="text/html"
class="active"
src="https://pim-client.wizart.techai/fitting-room?api_token=your_API_token&en&context=SiteAB"
allowfullscreen
>
</iframe>

...

Code Block
<iframe
id="wizart-fitting-room-object"
role="dialog"
aria-label="Wizart Fitting Room."
type="text/html"
class="active"
src="https://pim-client.wizart.techai/fitting-room?api_token=your_API_token&en&context=SiteBC"
allowfullscreen
>
</iframe>

...

Code Block
<iframe
id="wizart-fitting-room-object"
role="dialog"
aria-label="Wizart Fitting Room."
type="text/html"
class="active"
src="https://pim-client.wizart.techai/fitting-room?api_token=your_API_token&en&context=SiteDE"
allowfullscreen
>
</iframe>

...

Expand
titleEntry point button

First, you need to find the parameter “data-parameters” in the code of your button and add the context. For example, you have this code on your site 1 and the same code on site 2:

Code Block
languagejs
<script
  class="wizart__entry-point"
  data-token="token"
  data-title=""
  data-vendor_code=""
  data-article_query=""
  data-parameters=""
  data-image=""
  data-color=""
  data-background=""
  data-tooltip_title=""
  data-tooltip_position=""
  data-tooltip_disable=""
  data-glitter_disable=""
  data-width=""
  data-height=""
  data-border=""
  data-border_radius=""
  data-class_name=""
  data-onload-callback=""
  data-on-close-callback=""
  data-on-button-click=""
  data-element-selector=""
  data-insert-element-position=""
  data-iframe-element-selector=""
  data-insert-iframe-element-position=""
src="https://wizart-filesd35so7k19vd0fx.fra1cloudfront.digitaloceanspaces.comnet/production/integration/entry-point.min.js"
></script>

In “data-parameters” for site 1, you should add: “link_to_your_website_1/” (the same that you added in the CSV file)
data-parameters = “link_to_your_website_1/”
In “data-parameters” for the site 2, you should add: “link_to_your_website_2/” (the same that you added in CSV file)
data-parameters = “link_to_your_website_2/”

Expand
titleFloating button

First, you need to find the parameter “data-parameters” in the code of your button and add context.
For example, you have this code on your site 1 and the same code on site 2:

Code Block
languagejs
<script
  class="wizart__floating-button"
  data-title="Custom button title"
  data-token="token"
  data-vendor_code=""
  data-article_query=""
  data-parameters=""
  data-background=""
  data-color=""
  data-image=""
  data-tooltip_title=""
  data-tooltip_position=""
  data-tooltip_disable=""
  data-glitter_disable=""
  data-width=""
  data-height=""
  data-border=""
  data-border_radius=""
  data-class_name=""
  data-compact=""
  data-on-button-click=""
  data-element-selector=""
  data-insert-element-position=""
  data-iframe-element-selector=""
  data-insert-iframe-element-position=""
src="https://wizart-filesd35so7k19vd0fx.fra1.cdn.digitaloceanspaces.comcloudfront.net/production/integration/floating-button.min.js"
></script>

In “data-parameters” for site 1, you should add: “link_to_your_website_1/” (the same that you added in the CSV file)
data-parameters = “link_to_your_website_1/”
In “data-parameters” for the site 2, you should add: “link_to_your_website_2/” (the same that you added in CSV file)
data-parameters = “link_to_your_website_2/”

...