Skip to content

Load and place Shopify products

Now that you have set up the structure and ambiance of your virtual store, it’s time to populate it with products from your Shopify store. This guide walks you through creating entities to hold your products, attaching the necessary ecommerce components, and positioning your products within your scene.

Step 1. Create an empty entity to hold your product

Entities are fundamental building blocks in the iR Engine. You will create an empty entity to which you can attach your Shopify product.

To create an empty entity:

  1. Add a new entity: Click the Add Entity button located in the Hierarchy panel.

  2. Select Empty: From the options available, select Empty to add a new empty entity to the Hierarchy.

    Empty entity category in the Hierarchy

  3. Make the entity active: Ensure your new entity is selected in the Hierarchy panel so its components are displayed in the Properties panel.

    Properties of your new entity

Step 2. Attach an Ecommerce Product component to your entity

To load a product into your entity, you need to add an Ecommerce Product component.

To add an Ecommerce Product component:

  1. Add a new component: In the Properties panel, click Add Component.
  2. Expand the Ecommerce category: Click on the Ecommerce category to see the available components.
  3. Select Ecommerce Product: Choose Ecommerce Product from the list. This action adds the component to your entity.
  4. Configure the component: Expand the newly added Ecommerce Product component in the Properties panel to view its settings.

Step 3. Load your product into the entity

With the Ecommerce Product component in place, you can now load your product into the entity.

To load a product:

  1. Select Shopify as the provider: In the Provider dropdown menu, select Shopify.

    Ecommerce Product component and its settings

  2. Choose a product: In the Product dropdown menu, select the product you want to load. This action configures the component to display the selected product.

    List of Shopify products

  3. Verify the product loads: The entity now populates with the model of the selected product. You can see the product appear in the Viewport.

    Product loaded into the Viewport

Step 4. Position your product in the scene

You can move and position your product within the scene to create an appealing display.

To position your product:

  1. Use the Transform component:
    1. Select the entity in the Hierarchy panel.
    2. In the Properties panel, expand the Transform component to adjust the position, rotation, and scale of your product.
  2. Direct manipulation in the Viewport: Alternatively, directly manipulate the product in the Viewport by selecting it and using the move, rotate, and scale tools.

Expanding and viewing product details

When you load a Shopify product into your scene, clicking on it in the Viewport displays its details, such as description, price, and add-to-cart options. This interaction helps simulate the user shopping experience of your users.

Product ecommerce details view

Next steps: Adding videos to your store

With your products loaded and positioned, the next guide focuses on enhancing your virtual experience by adding videos to you store. This includes creating video entities and configuring video resources to play within your scene.