...
To avoid issues with the Wizart Web Visualizer appearing the CSS z-index property for wizart-fitting-room-object
tag id has to be greater than z-index for the rest of popup pop-up windows on client web application.
...
An example of shopping cart integration is shown in the listing above. See Please check line 64.
Code Block |
---|
Event.data format: { eventName: 'wizart_shopping_cart', payload: [ { vendor_code: string, quantity: number, }, ], } |
...
Parameter | Type | Description |
---|---|---|
user_id | string | User identifier or Device identifier. Format: user_id=string. |
context | string | Format: context=string Here you can find out more about the context. |
custom_shopping_cart_link | string | This parameter takes precedence over the setting in the PIM configuration. Format: custom_shopping_cart_link=https://www.wizart.ai/ |
Integration example with the parameters:
Code Block |
---|
const fittingRoomEndpoint = server_address + '/fitting-room' + '?api_token=' + api_token + '&bba=true' + '&user_id=string + '&context=string + '&custom_shopping_cart_link=https://www.wizart.ai/' ; |
...
The integration is now considered complete.
Info |
---|
In case you have any additional questions or issues, please contact Wizart technical support |
...
Simple integration: Video tutorial
...