Main Page
We offer the integration of our widgets on your website's homepage. You can choose from the following widgets:
Popular Products
This widget highlights best-selling items based on user interactions such as clicks, views, cart additions, and purchases.

Personalized Recommendations
This widget provides a curated selection of products tailored to the user, based on their activity and preferences.

Integration Script
To integrate the widgets, you need to add <div id="garderobo"></div> on the main page. This area will host the widgets.
Next, execute the initialization code:
...
<script>
_garderoboWidget.then(function(widget) {
widget.initMain(document.getElementById('garderobo'));
});
</script>
...Also, don't forget to do the basic initialization of the widgets.
Depending on the agreed widget types, the content of those or other widgets will be displayed in the specified area.
All widget styles are prepared in advance by Garderobo A.I. employees according to the layout agreed with you. During the initialization process, these styles are automatically loaded as a .css file.
Last updated