...
Parameter | Description | Type |
---|---|---|
class | Required parameter. | Required |
src | Link to js-file with integration code. | Required |
data-token | api token - generated and issued by Wizart Administrator. | Required |
data-title | Text to be displayed on the button (the default value is "Try it in your room in one click!"). | Optional |
data-vendor_code | Unique SKU ID of the product uploaded to Wizart system. | Optional |
data-article_query | Required in the case if parameter data-vendor_code is not enough for product search in the Wizart system. Parameter value should be a result of the function | Optional |
data-background | Button background. | Optional |
data-tooltip_disable | If the value is “true”, the tooltip will not be displayed. | Optional |
data-tooltip_title | Text to be displayed on the tooltip (the default value is "See it in your room!"). | Optional |
data-tooltip_position | Tooltip position towards the button. Available values are top, right, bottom, left (the default value is top) | Optional |
data-glitter_disable | If the value is true, glitter will not be displayed | Optional |
data-width | Button width | Optional |
data-height | Button height | Optional |
data-border_radius | Button border-radius | Optional |
data-class_name | Class to be set for the button element on the page | Optional |
data-parameters | Parameter value should be a result of the function | Optional |
Parameter Additional parameters for “data-parameters” attribute
...