Thank you for purchasing this plugin. If you have any questions that are beyond the scope of this help file, please feel free to send us email to support@topdevs.net
Learn more about WordPress plugins installation on Codex page
Go to "Add new" page of "Plugins" submenu in your WordPress site Dashboard.
Click the "Upload" link in the top of the page.
Click on "Choose File" button and choose the smart-product-viewer.zip file on your hard drive.
Click on "Install Now" button.
When installation process completed click on "Activate Plugin" link.
"Smart Product Viewer" use animation technique to create 360° product spins and workflow animation. It requires up to 36 photographs for the smooth 360° spin animation. Although the plugin can work with any number of pictures.
Animation is the process of creating the continuous motion and shape change illusion by means of rapid display of a sequence of static images that minimally differ from each other.
- Wikipedia
360° Product Photography is surprisingly easy to create. You can create an almost seamless 360° image of any object and you really don't need any expensive specialist equipment. The only vital piece of equipment you need is a rotating cake stand / tray. They can be purchased for very little and enable you (once marked) to take a high number of images through 360° degrees.
Remember the more images taken the more seamless the end result will be.
Once all photos done you can create a "Smart Product" using "Smart Product Viewer" plugin menu in your WordPress site Dashboard.
Go to "Add new" page of "Smart Product" submenu in your WordPress site Dashboard.
Enter your "Smart Product" Title and then click on "Choose Images" button.
You will see new WordPress "Media Manager" (since WrodPress v3.5). If you have your images already uploaded in Media Library go to Step 4
To upload images just drag and drop them from your computer or use standard upload dialog box (press "Select Files" button). All the images you add are saving in WordPress Media Library.
Use the CTRL key (PC) or COMMAND key (Mac) to select multiple images from the Media Library. Selected images will have checkmark in top right corner. When all images you need are selected click "Use for Smart Product" button.
Now you see images in "Smart Product Images" meta box. If all images you need are there press "Publish" button.
Effect of 360° product spin (or product animation) is achieved by showing images one by one in exact order. Same way as animation frames. So the order is very important.
To change image order just drag it to right place. Order saved automatically when you drag, there is NO need to click "Update" button. If you need an opposite images order, just click "Reverse Images Order". It will change spin direction to opposite.
You can show "Smart Product" on your site using a native Gutenberg block (since v1.6.0), WordPress shortcodes in your post/page, or widgets in your site sidebar. Since Smart Product Viewer v.1.1 you can also use any Smart Product as a WooCommerce Product Image.
Requirements (v1.6.0): WordPress 5.9 or later • PHP 8.0 or later.
You will notice a new "Smart Product" Metabox above the "Product Gallery" Metabox. It looks similar to Smart Prodcut Widget and has all parameters described here (except move_on_hover). Only one new option added: "Show as product image". It allows you to quickly enable/disable Smart Product as WooCommerce Product Image.
If enabled it will show Smart Product you specified instead of regular WooCommerce Product Image.
Smart Product Viewer now ships a native Gutenberg block called 360° Product Viewer. It requires WordPress 5.9 or later and gives you a full block-editor experience without any shortcodes.
After inserting the block, open the Block settings panel on the right side of the editor. Settings are grouped into four panels:
All parameters in the block settings panel correspond to the shortcode attributes described in the Parameters section below.
The block supports the Wide and Full alignment options available in the block toolbar (requires a theme that enables wide/full-width layout).
Default shortcode look like this [smart-product id=5] (number 5 is just example, you will have unique "id" number for each "Smart Product"). This will be enough to show your "Smart Product" inside WordPress post or page. We add some options for you to customzie the look and feel of your product. Please see the options you can modify below.
"Smart Product Viewer" has many of configuration parameters, so we create a Shortcode Generator to help you customize your Smart Product Views. You will notice a new icon in your WordPress Dashboard Editor.
In WordPress 5.0, the classic content editor was replaced with the block editor (Gutenberg). The Shortcode Generator icon is available via the TinyMCE toolbar inside a Classic block, or you can paste the generated shortcode directly into a Shortcode block.
Tip: For the best Gutenberg experience, use the native 360° Product Viewer block instead of a shortcode. It gives you a visual settings panel without needing to remember any parameters.
After click on "360°" icon you will see a pop-up with customization parameters for your Smart Product View. Parameters separated into 2 sections: Viewer and Navigation.
Specify parameters you need following simple hints under parameters and click "Insert Shortcode" button in the bottom.

If "Save chosen parameters for next time" remain checked, all parameters you choose will be saved. After you Publish/Update your WordPress post or page and open Shortcode Generator again, your previously chosen data will be set as default.
That means you can check how the Grid Gallery looks on your site and you don't need to set all parameters again if you want to change something.
You can easily change Generator parameters from saved to plugin defaults by uncheking Show parameters saved previously.

"Smart Product Viewer" Plugin has 8 navigation color schemes: dark blue, light blue, red, brown, purple, gray, yellow, green. You can set the color inside shortcode using color attribute.
[smart-product id=5 color=dark-blue][smart-product id=5 color=light-blue][smart-product id=5 color=red][smart-product id=5 color=brown][smart-product id=5 color=purple][smart-product id=5 color=gray][smart-product id=5 color=yellow][smart-product id=5 color=green]"Smart Product Viewer" Plugin has 8 navigation styles: glow, fancy, wave, flat round, flat square, vintage, arrows, leather. You can set the style inside shortcode using style attribute.
[smart-product id=5 style=glow][smart-product id=5 style=fancy][smart-product id=5 style=wave][smart-product id=5 style=flat-round][smart-product id=5 style=flat-square][smart-product id=5 style=vintage][smart-product id=5 style=arrows][smart-product id=5 style=leather]Combine color and style to get 64 different skins for your "Smart Product" navigation.
Border can be hide by setting "border" attribute to "false"
[smart-product id=5 border=false]
To change the border color you can use some CSS magic. Just add something like below to your theme style.css or any "Custom CSS" field in your theme options or any other plugin which allow you to do that.
.threesixty-image {
border-color: #080808;
}
You can only set the width of the "Smart Product" in pixels, the height will be based on image ratio. To change the width of the "Smart Product" use "width" attribute.
[smart-product id=5 width=300]
Although the plugin is responsive and if width you set is too high, it will be resized to container width.
You can easily add a scrollbar above, below, left or right from your "Smart Product" using scrollbar attribute. Scrollbar is more suitable for step-by-step animation of a product or a workflow. Scrollbar has 8 predefined color schemes as well.
When scrollbar is active navigation icons are hidden and drag feature is disabled. You can't use both mouse drag and scrollbar at same time, because scrollbar bar has start and end points when mouse drag make product spin in infinite loop.
[smart-product id=5 scrollbar=top color=dark-blue][smart-product id=5 scrollbar=top color=light-blue][smart-product id=5 scrollbar=top color=red][smart-product id=5 scrollbar=top color=brown][smart-product id=5 scrollbar=top color=purple][smart-product id=5 scrollbar=top color=gray][smart-product id=5 scrollbar=top color=yellow][smart-product id=5 scrollbar=top color=green]If you want to make "Smart Product" spin just after it has been loaded, set "autoplay" attribute to "true".
[smart-product id=5 autoplay=true]
Interval is a time in milliseconds between frames change. Increase it to make "Smart Product" spin slower. Set "interval" attribute to any positive number.
[smart-product id=5 interval=40]
Sensitivity allow you to control the dragging speed. Decrease it to make "Smart Product" drag slower. For example twice slower:
[smart-product id=5 sensitivity="0.5"]
Add a fullscreen pop-up feature. When click on "expand" icon pop-up with bigger product view will be shown.
[smart-product id=5 fullscreen="true"]
Will make product spin (animate) on page scrool.
[smart-product id=5 move_on_scroll="true"]
Will make product spin (animate) when mouse hover the view.
[smart-product id=5 move_on_hover="true"]
Smart Product Widget has all parameters described here (except move_on_hover). All options available as drop down menus, text inputs or checkboxes. Go to "Appearnce > Widgets" page and drag the "Smart Product Widget" to any available in your theme Sidebar. Customize it the way you need and save. Learn more about WordPress Widgets.
Plugin files structure represented below.
includes/
blocks/ (Gutenberg block files, added in v1.6.0)
360-viewer/ (block.json, editor.js, editor.css, editor.asset.php)
css/ (CSS files)
images/ (Navigation icon sprites and pointer icons)
js/ (Javascript files for admin Dashboard and for Smart Product View)
tinymce/ (Shortcode Generator files)
views/ (PHP files, mostly with HTML code for output representation)
In addition to this structure there are few files with main functionality that are highly recommended to not change:
SmartProductPlugin.php, SmartProductWidget.php, ThreeSixtySlider.php
There are 2 CSS files in this plugin, located at includes/css:
admin.css for WordPress "Smart Product" dashboard. Please do not change it unless necessary.
magnific-popup.css used for fullscreen pop-up feature. Please do not change it unless necessary.
360.css for Smart Product represantation on your site. You can add your custom CSS styles in the end of this file to avoid possible layout issues. If you fill comfortable editing CSS yourself use the table of contents below(also it can be found at the top of 360.css file).
/** * Table of contents * * - Slider Wrap * - Loader * - Preview Image * - Slider Images * - Mouse pointer * - Navigation styles and colors * - Navbar position * - Icons * - Style sprites * - Icon Colors * - Dark Blue * - Light Blue * - Red * - Brown * - Purple * - Gray * - Yellow * - Green * - Scrollbar * - noUISlider * - Scrollbar Colors * - Dark Blue * - Light Blue * - Red * - Brown * - Purple * - Gray * - Yellow * - Green */
There are 7 JS files in this plugin, located at includes/js:
spv.admin.js for WordPress "Smart Product" dashboard. Please do not change it unless necessary.
spv.ajax.js loaded only when AJAX enabled. Please do not change it unless necessary.
threesixty.js for Smart Product represantation on your site. This file is jQuery 360° image slider plugin, which is modified to support WordPress media Library images.
threesixty.min.js is minified version of threesixty.js used for page load speed purposes.
jquery.nouislider.js for Product Viewer scrollbar. More about noUiSlider read on project page.
jquery.nouislider.min.js is minified version of jquery.nouislider.js used for page load speed purposes.
jquery.magnific-popup.min.js for fullscreen pop-up feature. More about Magnific Popup read on project page.
smart.product.min.js is compiled version of threesixty.min.js and jquery.nouislider.min.js used since Smart Product Viewer v.1.2 for page load speed purposes.
"Smart Product Viewer" include default jQuery version presented in your WordPress install.
If you load any Smart Product View via AJAX call and insert to your site page, for example if you use Infinite-Scroll plugin, it won't work. You will see preview image and 0% sign.
To make it work from AJAX inserted content you must enable this feature by setting SPV_AJAX constant to true in smart-product-viewer.php file.
define( 'SPV_AJAX', true );