I should add, for those with running stores, your products are already set in play.
To add a 360 view to an existing product, let's say 57 Chevy;
Add your photos (_00001.PNG, _00002.PNG, _00003.PNG, _000xx.PNG) to YOUR_STORE/images/360/57 Chevy. This folder MUST match the Products Name you setup in Admin --> Categories / Products and will be used for the definitions file.
Build a definitions file 57_chevy.php.
This must be named the same as the folder (but, with lowercase and underscores replacing spaces) and put it in YOUR_STORE/ includes/languages/English/YOUR_TEMPLATE/
Code:
// Definitions file for 57 Chevy
define('NAVBAR_TITLE', '57 Chevy'); //<-- whatever navbar/breadcrumb name you want
define('HEADING_TITLE', '57 Chevy'); //<-- whatever you want for the heading of the page
define('FOLDER_TITLE', '57 Chevy'); //<-- this is the 360 folder title where the _00001.PNG etc. are located.
define('TEXT_INFORMATION', 'Click or Drag the Picture'); //<-- anything you want here including nothing
// set to -1 for responsive size (default)
// set to 0 for actual size
// or set custom width
// height will be from original w/h ratio
define('CUSTOM_WIDTH', '-1'); //<-- this is the default setting which works well with mobile devices
Add <!--|360 view|--> to the end of your description, where "360 view" is whatever you want the link text to be.
The tags are important <!--| |--> as that is what makes everything work.
To turn off the 360 viewing, just remove <!--|360 view|--> from the description and it will be as though no 360 plugin was added. The plug-in looks for the tag when a single product is selected and if there is no tag, it does nothing.
Here is another one; 1870 Three Cent Nickel
- These three names must be identical:
- Admin --> Categories / Products: 1870 Three Cent Nickel
- 360 folder: YOUR_STORE/images/360/1870 Three Cent Nickel
- FOLDER_TITLE: 1870 Three Cent Nickel
- Add your photos (_00001.PNG, _00002.PNG, _00003.PNG, _000xx.PNG) to YOUR_STORE/images/360/1870 Three Cent Nickel.
- Build your product definitions file and place it in
YOUR_STORE/ includes/languages/English/YOUR_TEMPLATE/1870_three_cent_nickel.php
-
Code:
define('NAVBAR_TITLE', '1870 Three Cent Nickel');
define('HEADING_TITLE', 'NAVBAR_TITLE');
define('FOLDER_TITLE', 'NAVBAR_TITLE');
define('TEXT_INFORMATION', 'Click or Drag the Picture');
define('CUSTOM_WIDTH', '-1');
- Add <!--|360 view|--> to the end of your product description
Bookmarks