Widget
Our widget enables you to show your rating, reviews and assurances directly on your webshop. We strongly recommend to use the widget configuration in the dashboard, also as a visual tool to aid the programmatic configuration. For our widgets we're using the cutting edge technology like Web Components. In order to make them work you will need to enable your Sidebar from the plugin or manually add the code. If you don't want to have a sidebar, simply disable it from your Dashboard, but keep the code on your site. Otherwise, the widget won't appear.
Code
The code places the widget on the location where the code is placed. Because the widgets are now connected to the Sidebar, they earn from its benefits. Now the language is automatically detected, based on your configuration in the Dashboard.
Parameters
layout
string (required)
- The layout of the widget- "badges", "reviews" etc.
- Layouts: badgesballoonbuttonbutton-logo-scorebutton-starsbutton-textmenureviewsreviews-bigreviews-slidertrustmarkstar-view
theme
string (Default: dark
)
- The type of theme/background - "light" or "dark".
- Layouts: badgesballoonbuttonbutton-logo-scorebutton-starsbutton-textmenureviewsreviews-bigreviews-slidertrustmarkstar-view
size
string (Default: small
)
- Layouts: menubuttonstar-view
amount
integer (Default: 6
)
- Layouts: reviewsreviews-bigreviews-slider
Note: Be careful when using this attribute in reviews-big and reviews-slider. The design is made so it displays 3 or 4 reviews minimum. Setting the value to a lower number may break them.
width
integer
The width of the widget in pixels.
- Layouts: trustmark