LogoLogo
DocumentationWebsiteCommunityPortal
  • Get Started
    • Quickstart
    • Tutorials
    • Wizards
  • Features
    • Release Notes
      • 2024
        • 04-05 Apr Update
        • 03-27 Mar Update
        • 02-07 Feb Update
        • 01-23 Jan Update
        • 01-05 Jan Update
      • 2023
        • 12-18 Dec Update
        • 11-30 Nov Update
        • 10-30 Oct Update
        • 10-04 Oct Update
        • 09-18 Sep Update
        • 09-11 Sep Update
        • 08-28 Aug Update
        • 08-14 Aug Update
        • 07-23 July Update
        • 07-14 July Update
        • 06-16 June Update
        • 06-6 June Update
        • 05-16 May Update
        • 03-31 Mar Update
        • 03-16 Mar Update
        • 03-10 Mar Update
        • 02-07 Feb Update
        • 01-24 Jan Update
        • 01-10 Jan Update
      • 2022
        • 12-08 Dec Update
        • 11-13 Nov Update
        • 11-07 Nov Update
        • 10-26 Oct Update
        • 10-14 Oct Update
        • 10-01 Oct Update
        • 08-26 Aug Update
        • 08-02 Aug Update
        • 07-01 July Update
        • 06-08 June Update
        • 05-20 May Update
        • 05-05 May Update
        • 04-25 Apr Update
        • 02-11 Feb Update
        • 01-28 Jan Update
        • 01-10 Jan Update
      • 2021
        • 12-10 Dec Update
        • 12-01 Dec Update
        • 11-26 Nov Update
        • 11-17 Nov Update
        • 11-12 Nov Update
        • 11-09 Nov Update
        • 11-02 Nov Update
        • 10-26 Oct Update
        • 10-21 Oct Update
        • 10-14 Oct Update
        • 09-27 Sep Update
        • 08-31 Aug Update
        • 07-20 July Update
        • 07-02 July Update
        • 06-31 June Update
  • Metaverse
    • Building
      • Portal
        • Team Members
        • Defining Global Variables
      • Editor
        • File Manager
          • Selecting a file
          • Sketchfab Integration
        • Placement in 3D Space
        • Project Settings
          • Preferences
          • Branding
          • Collaborators
          • Menu
          • Variables in Settings
          • Lead Generation
          • Tour Mode
          • Advanced
          • E-Commerce in Settings
        • Preview
          • Headset Testing - WebXR Emulator
        • Viewport Properties
        • Editor Keyboard Shortcuts
      • Scenes
        • 3D Scene
          • Avatar System
          • Colliders
          • Zones
          • Lights
        • 360 Scene
        • Orbit Scene
      • Elements
        • Image
        • Video
        • Audio
        • GIF
        • Text to Speech
        • Character
        • Character AI
        • Actionbar
        • Timer
        • Polygon
        • Linked Popups
        • Variants
      • Rules
        • Shared Rules
        • How Rules Work
        • Number Variable Rules
        • String Variable Rules
        • Boolean Variable Rules
      • Variables
        • Autogenerated Variables
        • String Substitution
        • Capturing User Input
      • Build FAQs
    • Publishing
      • URL or QR Code
      • Embed on your Website
      • Full-Page HTML
      • Embedding within Apps
        • Android Embed
        • React Native Embed
      • Export as SCORM package
      • Authentication
        • SSO
        • Password With Expiry
        • Email with OTP
        • Custom List
        • Token
        • Load from another Experience
      • Publishing FAQs
      • Private Cloud Deployment
    • Multiplayer
      • Host Mode
      • Broadcast Mode
      • Voice Chat
      • Text Chat
      • Video Chat
      • Screenshare
      • Comments
      • Share Reactions
      • Notifications
      • Troubleshooting webcam and microphone
    • Analytics
      • Advanced Analytics
      • Leaderboard
      • Viewer Sessions
    • Integrations
      • GMetri with SCORM
        • Embed a SCORM package in a GMetri experience
      • Live Stream on GMetri
        • Live Stream Zoom on YouTube
        • Live Stream Zoom on Vimeo
          • Zoom Setup
      • E-Commerce with GMetri
        • Shopify Integration
        • WooCommerce Integration
        • Custom Integration
        • Using an E-Commerce Plugin
      • Adding a Chatbot
      • Sending data to GMetri Deployment
    • Viewing
      • Avatars
      • First/Third Person
      • Concurrency
      • Oculus Controls
      • Viewer Keyboard Shortcuts
      • IT Permissions
        • Whitelisting for Viewing Experiences
        • Whitelisting for Editing Experiences
        • Whitelisting for Analytics
        • Subprocessors
    • GMetri SDK
      • GMetri Player
      • GMetri SDK APIs
        • Project
        • Deployment
        • File
        • Viewer Group
      • GMetri Webhooks
      • API Token
      • Examples
  • Guidelines/Compatibility
    • Guidelines
      • Content Creation Guidelines
        • XR Experience Storyboard
        • 360 Degree Video Shoots
        • Avatars vs Characters
        • Designing 3D Models for Immersive VR mode
      • Asset Guidelines
        • 3D Models
          • Export GLB/GLTF from 3DS Max
          • Export GLB/GLTF from Blender
        • 360 Pano Images Render
        • Resources for Assets
        • Asset FAQs
        • Image Aspect Ratio
      • Experience Optimizations
        • Scene Optimizations
          • Performance Monitor
        • Image Optimizations
        • Audio Optimizations
        • Video Optimizations
        • 3D Model Optimizations
      • Workflows
        • Green Screen
          • Apply Green Screen to Videos
          • Accurate Color Selection
        • QR Code Scanner
        • Adding Sprites
        • Adding Background Music & Persistent Logo
        • EmbedHTML Snippets
    • Compatibility
      • Platform Requirements - Viewer
      • Platform Compatibility Matrix
      • Supported File Formats
      • Supported Browsers
      • Capture Network and Console Logs from Chrome Browser
    • Limitations
      • iOS Limitations
      • VR Mode Limitations
  • Platform
    • Billing
    • Platform FAQs
    • Security
    • Legal
Powered by GitBook
On this page
  • Quick Steps to integrate WooCommerce Store x GMetri Experience
  • Enable Storefront API access
  • Getting a Product SKU
  • Get WooCommerce Embed code
  • Add GMetri Embed Code to Wordpress page
  • Integration with GMetri​
  • Testing the integration

Was this helpful?

Edit on GitHub
Export as PDF
  1. Metaverse
  2. Integrations
  3. E-Commerce with GMetri

WooCommerce Integration

Looking to host your WooCommerce store in the metaverse? Your search ends here!

PreviousShopify IntegrationNextCustom Integration

Last updated 3 months ago

Was this helpful?

Quick Steps to integrate WooCommerce Store x GMetri Experience

  1. Enable Storefront API access

  2. Getting Product SKUs

  3. Get GMetri Embed Code and Add to WooCommerce Page

  4. Integrate WooCommerce Products with GMetri

  5. Test your integration and have fun creating WooCommerce stores in the metaverse.

Enable Storefront API access

There are a few steps that are required to enable WooCommerce Storefront API access on your wordpress account.

  1. Login to your wordpress admin dashboard.

  2. From your wordpress admin, click Settings > Permalinks

  3. Make sure the permalink structure is not plain. This integration does not work with plain permalink structure. To read more about permalinks, visit this page.

  4. Click on Save Changes once updated.

  5. Get Domain name and save it for later.

  6. Get Cart URL and save it for later.

Domain name

WooCommerce creates a unique domain name for each of the stores created on their platform. The domain name is required in conjunction with the API credentials to enable a successful integration.

  1. From your wordpress admin, click Settings > General

  2. The site address URL is the domain name of your store. Note it down for later.

Cart URL

Get the checkout URL for your wordpress store

  1. From your wordpress admin, click Pages > Cart page

  2. Click on Edit.

  3. Copy the page URL from the settings tab on the right side of the page

Getting a Product SKU

To get a product's SKU

  1. From your wordpress admin, click Products > Select a product

  2. Click on Inventory and copy the SKU. If there is no SKU, add one and note the SKU for later.

  3. If the product has variations, make sure every variation has an SKU added.

  4. Only the SKU in the inventory section (Parent SKU) is required for products with variations.

Get WooCommerce Embed code

  1. From your GMetri homepage, open the experience editor.

  2. From within the editor, click Publish > Others in Sharing options

  3. At the bottom, download the HTML file to be added to your wordpress store.

Add GMetri Embed Code to Wordpress page

  1. From wordpress admin, open Pages section

  2. Add or edit a page wherever you want to add your GMetri Experience

  3. Paste the HTML embed code there and publish

Integration with GMetri​

The WooCommerce Plugin will be automatically enabled based on your access and organization subscription. If you do not see the option to select WooCommerce, consider upgrading your subscription.

If you are the admin or a collaborator, then you can configure WooCommerce integration with GMetri.

  1. From your GMetri homepage, open the experience editor.

  2. From within the editor, click Settings > E-Commerce > Select WooCommerce from the dropdown

  3. Enter the Endpoint noted during wordpress domain name configuration

  4. Enter the Checkout URL noted during wordpress cart URL configuration

  5. Check Show Cart Icon to enable showing a cart counter and checkout link to the wordpress store from within a GMetri experience.

  6. Above setup will internally create a set of rules to open and pull information for the relevant products from shopify storefront whenever an element is clicked. The resulting rules would read out like so: "When Books-Image is clicked, then show product with SKU"

Testing the integration

  1. From your GMetri editor, close the Settings page.

  2. Click on Play icon on the top right of the page and open a preview link

  3. Click on an element which was selected in the Ecommerce section.

  4. This should open up the product page with information from the woocommerce store, including pricing details, pictures and variants.

  5. Try adding the product to cart, increase and decrease the quantity of purchase.

  6. Click on Cart Icon on the top left of the page to goto wordpress store and start the payment process.

  7. To run this experience, you need to add an embed code in your wordpress website

    1. To get embed code, follow Get WooCommerce Embed Code section.

    2. Once you have the embed code, follow Add GMetri Embed Code to Wordpress page section to add your GMetri Experience.

Add a custom HTML element