โ๏ธBadges Integration
Mark your products!
The Mazing Badges Integration allows online shops to automatically display a "3D available" badge on product listing items when a 3D model exists for that SKU. It integrates with the Mazing API and works dynamically without modifying your backend.
How it works
The integration script scans the product listing, extracts product SKUs, queries Mazingโs API for available 3D projects, and adds a small badge (SVG icon) to each matching product.

How to integrate
Create a new integration file (if you don't have one already) and make your initBadges function.
If done correctly, you'll get an array as result, with all entries that are available in the Mazing World.

That's it! You can now start with writing your own "addBadges" method. Iterate through the results and use your addBadges method to add the badges to your products.
Example of how this could look:
Example of the addBadge method:
Last updated