How to add a 3D box designer to a Wix print store

In the Wix editor, add an Embed Code element (Embed & Social → Embed Code → Embed HTML) to the page and paste Drint’s two-line embed. Customers design on the exact dieline at their size and see the folded box in 3D; you receive the mockup, the print file and the dieline. It needs a Drint API plan — Starter $49, Business $199 or Scale $599 a month (a year is billed as 10 months); Business can be tried free for 14 days on your own domain, no card. Wix runs custom code only on a site with a connected domain on a paid Wix plan, so check that first.

Steps

  1. Make an embed key. In Drint: Account → Sign-in & security → Embed keys. List your site’s domain (the one connected in Wix, for example yourshop.com). The editor opens only on these.
  2. Add an Embed Code element. Wix editor → Add elements → Embed & Social → Embed Code → Embed HTML. Choose Code (not a website address) and drag it to where the editor should sit; make it tall — 700 px or more.
  3. Paste the embed. Paste the code below with your key, apply, then publish the site and open it on your own domain (the editor will not open on Wix’s preview).
  4. Receive the designs. When a customer presses Send design, the order lands in your Drint orders and your webhook is called if you set one.
<div id="drint"></div>
<script src="https://drint.io/embed.js"></script>
<script>
  Drint.open({ el: '#drint', key: 'dre_…', lang: 'en' });
</script>

What to know

See the editor livePlans and 14-day free trial

Questions

The element is blank in the Wix editor — is it broken?

No. Wix does not run embedded code while you edit. Publish the site and open the page on your own domain.

Can I use it on a free Wix site?

Not reliably: Wix allows custom code only with a connected domain on a paid plan, and the embed key must list that domain.

Related

add a 3D box designer to a Shopify print storeadd a 3D box designer to a WooCommerce print shopembed a 3D packaging editor in your own websiteDrint API pricing: three plans for mockups, dielines and the embedded editorA mockup API for print-on-demand and packagingA dieline API: FEFCO and ECMA dielines at any sizeadd a 3D box designer to a Squarespace print storeadd a 3D box designer to a Salla print storeadd a 3D box designer to a Zid print storeA 3D mockup and dieline API for print-on-demand companiesDielines and 3D previews for packaging suppliersPackaging mockups and dielines for design agenciesDrint API reference