Virtual reality Woocommerce Plugin
WebVRShop is the easiest way you can present your products in Virtual Reality. Is a Woocommerce plugin, easy to install and configure.
The code is written using AngularJS for the live updates.
It works on any device. This means desktop computers, mobile devices, with VR glasses or without.
Just upload your plugin with Wordpress and setup 3D models for every product, right in the product page description.
You have to upload the model first (Collada .dae for now, more extensions to come).
After that you can place the model in the scene, using the sliders (position and rotation, model size) and you can even live preview the model in the page.
Replace the logo.png image in the product img folder with your own logo image to change the admin panel logo.
In your Wordpress admin panel, go to plugins - add new.
Upload WebVRShop archive and activate the plugin.
Go to one of your products or create a new one
Than you can use the sliders to resize, move and rotate your object in the scene.
You can check how it looks on the page using the live preview window, no need to refresh the page or navigate to the front website.
The plugin consists in 3 folders and one main PHP file.
* Plugin Name: WebVRShop
* Plugin URI: http://google.com
* Description: Easily add 3D models in Virtual Reality mode to any Woocommerce shop.
* Version: 1.0.0
* Author: VRApps
* Author URI: http://vrapps.com
* License: Commercial
Next we set up the Wordpress uploader to accept restricted filetypes (.dae for the uploaded models).
//3D model path
'id' => '_custom_product_path',
Next there is a javasScript where we setup the colorpicker and AngularJS main controller (empty, but you can add your Angular functions if you need).
Finaly we setup the front page display.
You can update the plugin adding your own functionality.
It is easy to work with the code, if you are familiar with Wordpress codex and AngularJS.
I will try to release periodic updates to the code, including more functionalities, like adding hotspots, purchase button, more products on a VR environment, custom animations builder. And of course I am waiting you to tell me what else you would like to see added to the product.