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

Add a Custom Liquid section to the page in your Shopify theme and paste Drint’s two-line embed. Your customers then pick the box, type the size, place their artwork on the exact dieline and turn the folded box in 3D before ordering; you receive the mockup picture, 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.

Steps

  1. Make an embed key. In Drint: Account → Sign-in & security → Embed keys. List your store’s domains: your-store.myshopify.com and your own domain if you have one. The editor opens only on these.
  2. Add a Custom Liquid section. Shopify admin → Online Store → Themes → Customize. Open the page or product template where customers should design, choose Add section → Custom Liquid.
  3. Paste the embed. Paste the code below with your key. Save, and open the page on your store: the editor loads in the section.
  4. Receive the designs. When a customer presses Send design, your page gets the result (onDone), 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

Do I need a Shopify app?

No. The embed is two lines in a Custom Liquid section; no app has to be installed for the editor.

Can I test it before my store is live?

Yes. The 14-day Business trial runs on your own domain, and the design pictures carry a watermark grid until you are on a plan.

Which boxes can customers design?

The packaging Drint draws on real dielines at any size in mm — tuck-end boxes, mailers, trays, rigid boxes, bags, labels and more. You can open the editor on one mockup and size, or let customers choose.

Related

add a 3D box designer to a WooCommerce print shopembed a 3D packaging editor in your own websiteA mockup API for print-on-demand and packagingA dieline API: FEFCO and ECMA dielines at any sizeDrint API reference