PIC UP Logo

How to Add (AR) to your Shopify and WooCommerce Store

Product Images are crucial for your online store. Customers love stellar images, and the difference between high quality and mediocre images can easily break or make a buyer’s decision to purchase your products. Great images are vital in capturing a shopper’s attention and how you create inspirational, informational, and engaging experience contributes to the number of sales your business can make.

Augmented Reality (AR) enhances product visualisation. AR makes it possible for you to see virtual products in the actual environment, and the integration of Augmented Reality in Ecommerce is swiftly changing how customers shop by letting them view what they want to purchase before buying any product.

It is possible to add Augmented Reality to your online store to offer value to your consumers. When potential customers click on the Augment Button on your site from their phone, they are able to view products in a 3D setting. Furthermore, if customers are on their computers, clicking the Augment Button launches a 3D model page. This can be made possible by adding Augmented Reality to Shopify and WooCommerce Store.

How to Add AR to Shopify

Augmented Reality offers you with the ability to provide your customers with an improved sense of specifications, size, and scale of your products. Shopify AR let customers view interactive and realistic versions in AR. The 3D warehouse application allows Augmented Reality experience by letting you upload 3D models and link them to the products you sell.

Steps

Install 3D Warehouse app

  1. Go to the sign-up
  2. Enter your Shopify store domain
  3. Click Install
  4. Check the details and then Install app.
  5. Get 3D models
  6. Click the Hire a Shopify expert button on the account menu.
  7. Expand the New functionality section
  8. Go to Create 3D models of your products augmented reality.
  9. Answer all the questions. If you want to add product dimensions and photos at this stage, follow the guidelines.
  10. Click Send job

Add the 3D model to 3D Warehouse app

  1. Click Apps in the Shopify admin
  2. Go to 3D Warehouse and Click Add 3D Model.
  3. Put down the title of your 3D model in the Title
  4. Go to the Linked Product section, choose your product that the 3D model is related to and click Select product.
  5. Go to Upload File and Choose the .usdz file offered by your Shopify Expert.
  6. Click Save

Repeat this process for the .glb or .gltf file that the expert provided. Ensure the file is linked to your product so that you can have the file types associated with your product. These files are used by different features and platforms. To ensure that your store is compatible with 3D features and future AR, upload both types of file.

Edit the Theme

The next step is editing your theme codes to enable Augmented Reality Quick Look. This enables customers to view your products. Here are the steps.
1. Go to Online Store, in the Shopify admin.
2. Go to Actions, which is found next to the current theme and then click Online Store
3. Click (/) theme liquid in the Layout folder and go to the <head> tag.
4. Paste this code at the next line.

<script
src="https://cdn.shopifycloud.com/ar-quicklook-js/assets/v1/shopify3d.js"
crossorigin="anonymous"
></script>

5. Click Save
6. Go to (/) product-template.liquid at the Sections part.
7. On the top of your file, paste this code

<script>
(function(s3d) {
if (!s3d) {
console.warn('"window.Shopify3d" does not exist. Please ensure you\'ve added the <script> to your theme');
return;
}
{% for variant in product.variants %}
s3d.mapMetafieldAssets('{{ variant.id }}', '{{ variant.metafields.shopify3d['assets'] }}');
{% endfor %}
})(window.Shopify3d);
</script>

8. Click Save

Add the Augmented Reality badge

Click Online Store in the Shopify admin

  1. Go to Actions then to Edit code
  2. Go to (/) product-template.liquid at the Sections folder.
  3. Look for the temperate sections that are related to your product photo. Keywords like featured_image and ProductPhoto might be of great help.
  4. Look for the first tag<img… > in the product photo section.
  5. Paste his code on the line above the tag
<div class="ar-quicklook-overlay" data-shopify-3d-variant-id="{{ product.selected_or_first_available_variant.id }}" style="display: none;"></div>
  1. Click Save
  2. Go to the Assets folder and open that file with the theme’s CSS. The file is most likely to have a tile like {/}theme.scss.liquid.
  3. Paste this code at the bottom of your file
.ar-quicklook-overlay {  
position: absolute;  
width: 100%;  
height: 100%;  
top: 0; 
 z-index: 2;  
}
  1. Click Save.

Edit the Theme

The next step is editing your theme codes to enable Augmented Reality Quick Look. This enables customers to view your products. Here are the steps.
1. Go to Online Store, in the Shopify admin.
2. Go to Actions, which is found next to the current theme and then click Online Store
3. Click (/) theme liquid in the Layout folder and go to the <head> tag.
4. Paste this code at the next line.

<script
src="https://cdn.shopifycloud.com/ar-quicklook-js/assets/v1/shopify3d.js"
crossorigin="anonymous"
></script>

5. Click Save
6. Go to (/) product-template.liquid at the Sections part.
7. On the top of your file, paste this code

<script>
(function(s3d) {
if (!s3d) {
console.warn('"window.Shopify3d" does not exist. Please ensure you\'ve added the <script> to your theme');
return;
}
{% for variant in product.variants %}
s3d.mapMetafieldAssets('{{ variant.id }}', '{{ variant.metafields.shopify3d['assets'] }}');
{% endfor %}
})(window.Shopify3d);
</script>

8. Click Save

Add the Augmented Reality badge

  1. Click Online Store in the Shopify admin
  2. Go to Actions then to Edit code
  3. Go to (/) product-template.liquid at the Sections folder.
  4. Look for the temperate sections that are related to your product photo. Keywords like featured_image and ProductPhoto might be of great help.
  5. Look for the first tag<img… > in the product photo section.
  6. Paste his code on the line above the tag

<div class=”ar-quicklook-overlay” data-shopify-3d-variant-id=”{{ product.selected_or_first_available_variant.id }}” style=”display: none;”></div>

  1. Click Save
  2. Go to the Assets folder and open that file with the theme’s CSS. The file is most likely to have a tile like {/}theme.scss.liquid.
  3. Paste this code at the bottom of your file

.ar-quicklook-overlay {  position: absolute;  width: 100%;  height: 100%;  top: 0;  z-index: 2;  }

  1. Click Save.

Add AR to WooCommerce

WooCommerce makes getting started very easy with a simple installation and setup wizard to get your online store running.

Installation

WooCommerce plugin is installed just like the other plugins. Go to the Plugins options and search for this plugin. Install and activate it.

Setup

After installing WooCommerce, the Setup Wizard takes you through configuring basic steps to run it in the WordPress. Your e-commerce options are infinite, and the Setup Wizard helps you choose the most important ones.

AR for WooCommerce Users

The WooCommerce Augmented Reality Quick Look allows people to show their products in AR. To use the plugin, you will need a Safari browser that runs on iOS 12 device.

Buy the WooCommerce Augmented Reality Quick Look plugin. This plugin allows the users to use 3D photos and models to your WooCommerce shopping cart to offer an interactive augmented reality experience for all of your customers which help increase your sales.

This plugin offers a simple file upload which is located where the products are edited and takes care of the entire configuration.

Mobile Ecommerce

Customers with tablets, phablets, and photos are a growing demographic, and AR in WooCommerce ensures that your customers have a fantastic experience no matter which handset they are shopping from.

Add the Augmented Reality badge

  1. Click Online Store in the Shopify admin
  2. Go to Actions then to Edit code
  3. Go to (/) product-template.liquid at the Sections folder.
  4. Look for the temperate sections that are related to your product photo. Keywords like featured_image and ProductPhoto might be of great help.
  5. Look for the first tag<img… > in the product photo section.
  6. Paste his code on the line above the tag

<div class=”ar-quicklook-overlay” data-shopify-3d-variant-id=”{{ product.selected_or_first_available_variant.id }}” style=”display: none;”></div>

  1. Click Save
  2. Go to the Assets folder and open that file with the theme’s CSS. The file is most likely to have a tile like {/}theme.scss.liquid.
  3. Paste this code at the bottom of your file

.ar-quicklook-overlay {  position: absolute;  width: 100%;  height: 100%;  top: 0;  z-index: 2;  }

  1. Click Save.

SEARCH POSTS

LATEST POSTS