All platforms / Guide

3D model and AR on Shopify

Three options, all without Shopify apps and without a subscription. The code in the description works on any theme; native 3D puts the model in the photo gallery; the Custom Liquid block shows it next to the gallery on all products.

Plugin / app
Not needed
Where to paste the code
Description → “Show HTML” (<>) or Media → GLB
AR on phones
Yes, Android and iPhone

Option 1: The 3DView code in the description

The model appears in the product description, with rotation, zoom and an AR button.

Pros

  • Works on any Shopify theme.
  • Keeps the 3DView display settings and view count.
  • Change something in 3DView and it updates in your store automatically.

Cons

  • It appears in the description, not in the photo gallery.
  • The 3DView logo stays until you remove it (“Remove logo”).
  1. Step 1

    Copy the code from 3DView

    Sign in, go to “My models” and, on the model, click “Code for your site”: the code is copied right away. The Shopify, WooCommerce and “Any site” tabs only show where to paste it; the code is the same.

    Copy the code from 3DView
  2. Step 2

    Open the product

    In Shopify admin, go to Products and open the product.

    Open the product
  3. Step 3

    Switch the description to HTML

    In the editor toolbar under Description, click the “<>” button (Show HTML). The text turns into code.

    Switch the description to HTML
  4. Step 4

    Paste the code and save

    Paste the code at the start (the model shows at the top) or at the end, then click Save. Don't switch back to visual mode before saving.

    Paste the code and save
  5. Step 5

    Open the product in your store

    Click View and check it on a computer and on a phone.

    Open the product in your store

Option 2: Native Shopify 3D: GLB in Media

Shopify accepts 3D models (GLB or USDZ) in the product gallery. Online Store 2.0 themes (for example Dawn) show them next to the photos, with a “View in your space” button for AR.

Pros

  • The model sits in the gallery, next to the photos.
  • No 3DView logo; the AR is Shopify's own.
  • Shopify creates the iPhone version from the GLB by itself.

Cons

  • Your theme must display 3D models (most newer themes do).
  • You don't get the 3DView display settings and statistics.
  • If you redo the model, you upload it again.
  1. Step 1

    Download the model files

    In “My models”, on the model, click “Download” and save the GLB (web, Android) and USDZ (AR on iPhone/iPad) files. The files are included, with a commercial license.

    Download the model files
  2. Step 2

    Add the GLB file to Media

    In Shopify, on the product, in the Media section: click Upload new (or Add) and choose the downloaded .glb file.

    Add the GLB file to Media
  3. Step 3

    Place the model where you want it in the gallery

    Drag the 3D thumbnail to the first position if you want the model to show first. Click Save.

  4. Step 4

    Check AR on a phone

    The product page shows the “View in your space” button. On iPhone it opens AR Quick Look, on Android Google's viewer.

    Check AR on a phone

Option 3: Next to the gallery, on all products (metafield + Custom Liquid)

For many products: you save only the model ID on each product, and the theme shows the 3DView model under the gallery automatically. No app, right from the theme editor.

Pros

  • The model appears in the same place on all products.
  • For a new product you only fill in the ID.

Cons

  • A few extra steps, once.
  • Requires an Online Store 2.0 theme (Custom Liquid block).
  1. Step 1

    Copy the code from 3DView

    Sign in, go to “My models” and, on the model, click “Code for your site”: the code is copied right away. The Shopify, WooCommerce and “Any site” tabs only show where to paste it; the code is the same.

    Copy the code from 3DView
  2. Step 2

    Create the ID field

    Settings → Custom data → Products → Add definition. Name “Model 3D”, key custom.model_3d, type Single line text. Save.

  3. Step 3

    Fill in the ID on the product

    The model ID is the part after /embed/ in the copied code. On the product, under Metafields at the bottom, paste it into “Model 3D” and save.

  4. Step 4

    Add the Custom Liquid block

    Online Store → Themes → Customize → the Products template. In the product section: Add block → Custom Liquid. Paste the code below and click Save.

  5. Step 5

    Check a product

    Products with an ID show the model; those without one stay unchanged.

    Check a product
{% if product.metafields.custom.model_3d != blank %}
<iframe src="https://www.3dview.ai/embed/{{ product.metafields.custom.model_3d }}" title="{{ product.title | escape }}" loading="lazy" allow="xr-spatial-tracking; fullscreen; accelerometer; gyroscope" allowfullscreen style="width:100%;height:480px;border:0;border-radius:12px"></iframe>
{% endif %}

The code you paste

This is what the code copied from 3DView looks like (yours shows the model ID instead of MODEL_ID). You can change the height (height:480px); leave the rest as it is. Add ?controls=0 after the ID to hide the controls bar under the model.

<iframe src="https://www.3dview.ai/embed/MODEL_ID" title="Oslo sofa" loading="lazy" allow="xr-spatial-tracking; fullscreen; accelerometer; gyroscope" allowfullscreen style="width:100%;height:480px;border:0;border-radius:12px"></iframe>

How to check it works

  • On a computer: the model loads, rotates with the mouse, and the “View on phone” button shows a QR code for AR.
  • On Android (Chrome): tap the AR button in the corner of the model. Google's AR viewer opens and you place the product in your room at real size. The phone must support ARCore.
  • On iPhone/iPad (Safari): tap the AR button. AR Quick Look opens, no app needed.
  • Test in Safari or Chrome, not in the Facebook/Instagram in-app browser: AR doesn't start there.
  • Description option: if your theme truncates the description (“Read more”), the model may be hidden behind the button; put the code at the start of the description.

Common problems and fixes

I can't see the “<>” (Show HTML) button

The button is on the right of the description's formatting toolbar; on narrow screens it may be under “…”. It only appears in the description editor, not in the theme editor fields.

I uploaded the GLB, but the model doesn't show in the store

Your theme doesn't display 3D media. Check the gallery settings in the theme editor, or use the option with the 3DView code in the description, which works on any theme.

The code disappears or turns into text after saving

The editor stripped it: paste the code in HTML / source code mode, not in visual mode (the steps above show the exact button). If it still disappears, the platform doesn't allow iframes: use the link and QR code from “Share / QR”.

The model is too small or gets cut off

Increase the height in the code: change height:480px to, say, height:600px. The width (100%) adapts to the column on its own. On phones, 400–500px is usually enough.

The AR button doesn't appear or doesn't start on iPhone

AR on iPhone needs Safari (or Chrome on iOS) and an iPhone/iPad with iOS 12 or later. 3DView prepares the iPhone version (USDZ) automatically. Open the model's direct link (the “View in AR” button in your account): if it works there, your platform blocks AR inside embedded frames; add a “View in AR” link to that URL under the model.

The browser says “insecure content” or the model doesn't load

Don't change the address in the code to http://. On an https site, browsers block http frames (mixed content). Leave the address exactly as it is: https://www.3dview.ai/embed/…

The 3DView logo appears on the model

You remove it per model, from your account: “Remove logo”, a one-time payment in credits. The code stays the same.

Does it slow down the page?

No: the code has loading="lazy", so the model only loads when it scrolls into view. Hosting is included, no subscription.

Simplified illustrations, not screenshots; menus may look slightly different in your version.

Frequently asked questions

Do I need a Shopify app?

No. 3DView has no Shopify app and you don't need one: the code is pasted into the description, and the GLB file is uploaded straight to Media.

Which option should I choose?

The code in the description, if you want 3DView settings and statistics on any theme. GLB in Media, if your theme already shows 3D models in the gallery and you want the model next to the photos. Custom Liquid, if you have many products.

Can I use both options on the same product?

Yes, but the customer sees the model twice. Usually you pick one.

Do I pay monthly for hosting?

No. Hosting, the code for your site and AR are included in the price of the model.

Don't have a 3D model yet?

Scan the product with your phone or start from a photo. You get the code for your site, a link with QR code, and AR included.

Create your first model