
In the current competitive e-commerce world, an immersive product experience is a major aspect of enhancing product engagement and conversions. One powerful way to achieve this is by learning how to add 3D product view in Magento 2 using a Magento 2 3D Viewer with AR capabilities. This feature allows shoppers to interact with 3D models of your products and view them in their real-world environment using Augmented Reality (AR) — creating a more lifelike and engaging shopping experience.
Whether you’re selling furniture, electronics, fashion, or accessories, a 3D product viewer for eCommerce enhances product visualization, reduces return rates, and boosts buyer confidence.
What is Magento 2 3D Viewer?
The Magento 2 3D Viewer is a powerful extension or feature that enables merchants to display products in 3D and allow real-time interaction. It is more than the traditional images and 360-degree views as it allows users to rotate, zoom, and look at products in all directions.
Paired with AR experience, the viewer allows mobile shoppers to place virtual products in their actual surroundings using supported devices — a must-have for modern eCommerce platforms aiming to stand out.
Features of Magento 2 3D Viewer by CodeDecorator
The features that a strong Magento 3D product viewer must present are the following:
Display Interactive 3D Models
You can add .glb or .gltf 3D model files to any of the products and allow your users to explore the model by using the simple gestures of rotate, zoom, and pan.
WebAR Support (Android & iOS)
With built-in WebAR integration, customers can tap a button on mobile to place the product in their real-world space — no app download required.
Easy Admin Panel Configuration
The extension provides clean admin interface to upload and manage 3D model files directly on Magento product edit page.
Fully Responsive
The product 3D viewer has the flexibility to fit every screen size and resolution so the experience is smooth on desktops, tablets, and smartphones.
How Does the Magento 2 3D Product Viewer Work?
Here’s a quick overview of how to implement the 3D viewer in your Magento 2 store using CodeDecorator’s extension:
1. Prepare 3D Models
- Convert product images into 3D models using tools like Blender or Adobe Dimension.
- Ensure files are in GLB or USDZ formats for compatibility.
Don’t have a 3D model of your product? No problem! Our expert designers can create high-quality 3D models (GLB/USDZ format) tailored for Magento 2. Get Your 3D Model Now or Contact Us for a free consultation!
2. Install the Extension
Download and install the module manually. Clear cache and enable it.
3. Global Configuration Setup
Once the extension is installed, go to your Magento administrator and go to:
Codedecorator Extension 3D Model Configuration

What you can configure is this:
- Enabled: Switch the module to visible on or off on the frontend.
- 3D Model Thumbnail Image: 3D Model Thumbnail Image Choose to show the default product image or a 3D model custom thumbnail.
- Thumbnail Upload – Upload custom thumbnails when chosen (JPG, JPEG, GIF, PNG).
4. 3D Model Attributes Display Settings
To support a more lifelike and realistic viewing experience, the Magento 2 3D Product Viewer extension provides a variety of adjustable display settings. The following are what the settings do:

- Show Shadow : Activate this feature to have a shadow underneath the 3D model which gives it a realistic depth.
- Auto Rotate : Turn on auto-rotation so that the 3D model rotates continuously and the customers can see the entire view without interaction.
- Disable Zoom : This will be selected to ensure that the user cannot zoom in or zoom out of the 3D model. Good when it comes to keeping a fixed view.
- Disable Tap : Switch the behavior of the tap on or off. Tap disabling limits the use of touch on the model.
- Show 3D Model Poster Image : Once turned on, a static poster image will be displayed on the product page until the 3D model is fully loaded, the perfect choice of visual continuity.
- Poster Image Upload : Load a custom poster image that will be displayed until the 3D model is loaded. Accepted formats: .jpg, .jpeg, .gif, .png.
- Show Skybox Image : This option allows one to put a background environment behind the 3D model, making it more realistic and provide a visual context.
- Image Upload Skybox : Load a skybox image (environment background) to the 3D model. Supported files: .jpg, .png, .hdr.
- AR Button Text (Mobile): Personalize the label of the AR button displayed on the screen of mobile devices. This button activates the camera of the user to display the model in his real world.
5. Uploading 3D Model Files
To attach 3D models to specific products:
- Navigate to Catalog → Products
- Scroll to the new 3D Model File (Android/iOS) sections
File Formats:
- GLB (Android): Ideal for fast-loading models with animation support.
- USDZ (iOS): Optimized for Apple’s ARKit on iPhones and iPads.
⚠️ Note: Ensure your server’s upload_max_filesize and post_max_size in php.ini are set to 20MB or more for proper uploads.
6. Frontend Experience: Real-Time Interaction
After being configured, desktop and mobile users will be able to see 3D models placed on your product pages. The extension loads the 3D model following the display of the poster image using the thumbnail you set.
On Mobile Devices:
Customers will be able to use AR Button to open their camera and see the product in their real-life location without an app! All you need to do is to allow camera access, and the AR experience is launched immediately.
Magento 2 3D Viewer Best Practices for Higher E-commerce Conversions
To maximize results from this feature-rich Magento augmented reality extension:
- Load more quickly with optimized.glb models less than 4MB.
- Name your 3D files to be the same as the SKU or variation of the product.
- Insert fallback product images to show when a browser is not WebGL-compatible.
- Prompt visual prompts to encourage users to view in AR.
- Test the pages of the product on the desktop and mobile to get the best rendering.
Common Issues with Magento 2 3D Viewer and How to Fix Them
| Issue | Solution |
| 3D Model not visible | Ensure correct file format (`.glb`/`.gltf`) and proper file path |
| AR Button not showing on mobile | Confirm HTTPS is enabled and the device supports WebAR |
| Slow performance on mobile | Optimize model file size and remove unnecessary animations |
| Button overlaps content | Adjust button position in the extension settings |
FAQ
Which file formats are supported for 3D models?
The extension supports .glb and .gltf files — the most widely used formats for WebGL and WebAR.
Is the AR experience supported on all devices?
WebAR works on most Android and iOS devices that support ARCore or ARKit. Users need to access the site over HTTPS.
Can I assign different 3D files for different product variations?
Yes, the extension supports configurable products, allowing you to assign specific 3D models to each variation.
Does it affect site speed?
No, the extension is lightweight and optimized for performance, even with large catalogs.
Now that you know how to add 3D product view in Magento 2, it’s the perfect time to level up your eCommerce product experience. With the Magento 2 3D Viewer with AR Experience by CodeDecorator, you provide your customers with a new opportunity to experience your products: rotate, examine, and even see them in their own space with the help of AR experience.
This modern 3D product viewer isn’t just a visual gimmick — it’s a strategic upgrade to boost engagement, reduce returns, and drive conversions. Bring your product pages to life with Magento augmented reality, and watch your store stand out from the competition.

Share Post

Leave a Reply