All platforms / Guide
3D model and AR on WooCommerce and WordPress
No plugin: the 3DView code is pasted as HTML in the product, in a page or in Elementor. Pick the editor you use.
- Plugin / app
- Not needed
- Where to paste the code
- Description / short description → “Text” tab
- AR on phones
- Yes, Android and iPhone
Option 1: WooCommerce product (description or short description)
WooCommerce products use the classic editor. The long description appears in the “Description” tab, under the gallery; the short description appears next to the price and the cart button, so the model is visible right away.
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 Step 2
Open the product
In WordPress: Products → All Products → Edit on the product you want.
Open the product Step 3
Switch to the “Text” tab
In the description editor (or in “Product short description”, further down), click the “Text” tab at the top right, next to “Visual”.
Switch to the “Text” tab Step 4
Paste the code and update
Paste the code where you want the model to appear and click “Update”.
Paste the code and update Step 5
Check the product page
Open the product in your store, on a computer and on a phone.
Check the product page
Option 2: Pages and posts (Gutenberg block editor)
For presentation pages, landing pages or blog posts.
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 Step 2
Add a “Custom HTML” block
Click “+”, search for “HTML” and choose “Custom HTML”.
Add a “Custom HTML” block Step 3
Paste the code
Paste the code into the block. With “Preview” you see the model right in the editor.
Paste the code Step 4
Update the page
Click “Update” (or “Publish”) and check the page.
Option 3: Elementor (and other page builders)
If your pages are built with Elementor, Divi or another page builder.
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 Step 2
Add the HTML widget
In Elementor, search for the “HTML” widget (it's in the free version) and drag it where you want the model. In Divi, use the “Code” module.
Add the HTML widget Step 3
Paste the code and update
Paste the code into the widget field and click “Update” / “Publish”.
Paste the code and update
Option 4: 3D in your theme, with a third-party plugin (optional)
If you want the model in the product gallery, some free plugins on WordPress.org accept GLB and USDZ files (for example “3D Viewer” or “AR for WooCommerce”). They are made by other companies, not by 3DView: check the reviews and compatibility with your version.
Pros
- The model can sit in the product gallery.
- No 3DView logo.
Cons
- One more plugin to maintain.
- No 3DView display settings or statistics.
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 Step 2
Install the plugin you chose
Plugins → Add New → search for the plugin → Install Now → Activate.
Step 3
Upload the GLB (and USDZ) to the product
Follow the plugin's instructions: usually a “3D model” field on the product page, where you choose the files from Media.
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.
- If you use a caching plugin (WP Rocket, LiteSpeed, etc.), clear the cache after saving the product.
Common problems and fixes
The iframe disappears when I save
Your account isn't allowed to save unfiltered HTML (unfiltered_html): this happens with roles like Editor on WordPress multisite, or on WordPress.com without a plan that supports plugins. Save as an Administrator or ask the site administrator.
I can't find the “Text” tab
If you see blocks, you're in Gutenberg: use the “Custom HTML” block. If the editor has no “Visual” / “Text” tabs at all, it's already in text mode (the “Disable the visual editor when writing” option in your Profile): paste the code directly.
WordPress won't let me upload the .glb file
WordPress blocks .glb and .usdz files by default (“file type is not permitted”). For the option with the 3DView code you don't need to upload anything. With 3D plugins, the plugin usually adds the permission.
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 plugin?
No. The HTML field in WordPress (the Text tab, the “Custom HTML” block, the Elementor HTML widget) is enough. 3DView doesn't have its own WordPress plugin.
When do I need WPCode or Code Snippets?
Only if you want to add the 3DView script (the <view3d-model> option) once for the whole site. You don't need them for the iframe.
Description or short description?
The short description appears next to the price, so the model is visible right away. The long description is in the “Description” tab, further down the page.
Can I add models to several products?
Yes, each model has its own code. Paste it into the matching product.
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