How to add a 3D model and AR to WooCommerce products
WooCommerce does not show 3D models on its own. With mygen3D you paste one embed code into the product description, and shoppers can turn the product around and place it in their room with AR.
Example: a phone scan, cleaned up and set to its real size (6 cm).
Watch the video

Phone scan to 3D on your website in 5 minutes
1. Upload your scan or CAD file
- Scan the product with a phone app (Polycam, Scaniverse, iPhone Object Capture), or export it from your CAD tool.
- Open Upload and choose the file. Enter the real height in cm, so AR shows the true size.
- Keep the model Unlisted or Public. Private models do not show on your store.
2. Copy the embed code
On your model page, click Copy embed code. It looks like this:
<iframe src="https://mygen3d.com/hs_embed.php?s=fZPGxcdFHQ" width="100%" height="480" style="border:0;max-width:960px" allow="fullscreen; xr-spatial-tracking" loading="lazy" title="3D model"></iframe> 3. Paste it into the product
- In WordPress, go to Products and open the product (Edit).
- In the product description, switch the editor from Visual to Text.
- Paste the code where you want the 3D to appear (usually at the top), then click Update.
- Want it next to the photos? Paste it into the Product short description box the same way.
If the 3D does not show
· Make sure you pasted in the Text tab. In the Visual tab the code shows up as plain text.
· Some security plugins, or user roles without the “unfiltered HTML” permission, remove iframes. Paste the code as an Administrator.
· If iframes are still removed, use Copy viewer-only link on your model page and link a “View in 3D” button to it.
· Make sure you pasted in the Text tab. In the Visual tab the code shows up as plain text.
· Some security plugins, or user roles without the “unfiltered HTML” permission, remove iframes. Paste the code as an Administrator.
· If iframes are still removed, use Copy viewer-only link on your model page and link a “View in 3D” button to it.
A mygen3D Product Viewer plugin that adds the viewer to the product gallery without code is in review on WordPress.org. We will add it to this page when it is published.
Also selling elsewhere? The same model works on Shopify, Wix and Google Search, and gives you a GLB for Amazon.
Upload a product