โœ”๏ธ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.

You can fully customize the badgeโ€™s appearance, position, and behavior to match your shopโ€™s design.

How to integrate

Create a new integration file (if you don't have one already) and make your initBadges function.

If you already have a mazing integration implemented, where you also call waitForMazingFunction, you don't need this function a second time.

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