It is possible to link (assign) multiple Orbitvu presentations to multiple Magento products within one click. The algorithm compares Orbitvu Presentation's SKU with Magento's product SKU and if they match, the Orbitvu presentation is automatically linked (assigned) to the Magento product.
Note! Orbitvu presentation's SKU can be given in Orbitvu Station during project creation.
In order to execute "Auto linking" script please go to the "Stores -> Configuration -> Orbitvu Self Hosted" and scroll down to the bottom of the page to the section "Cron jobs".
Before executing the "Auto linking" script, check which products ((already)) have assigned Orbitvu presentations.
Let's execute the "Auto linking" script.
Note! This script may consume a lot of time depending on the number of products in Magento and the number of Orbitvu presentations. That is why, please check your "max_execution_time" server setting to avoid errors.
You may also want to use CLI command to avoid server timeouts. Go to the "magento_root_path" and type: php bin/magento orbitvu:start --type=link
After a while, you should receive success info.
Let's check if any Orbitvu presentations have been linked to Magento products. To do this, go to the "Catalog -> Products".
As you can see, above screen shows that Samsung Gear Fit and Kit Maxi 3d presentations have been automatically linked to the Magento products by SKU match.
This feature saves a lot of time because we don't have to manually product by product assign Orbitvu presentations.
Tip! You can add "Auto linking" url to your server CRON jobs to avoid manual executing the script.
Sometimes when you manually modify Orbitvu presentation files on a serever (i.e: SKU change in "content.xml" file), it is necessary to update Orbitvu presentation in a shop (keep Orbitvu presentation up to date with server files).
To do this, you should execute "Auto synchronizing" script and all linked Orbitvu presentations will be updated.
You may also want to use CLI command to avoid server timeouts. Go to the "magento_root_path" and type: php bin/magento orbitvu:start --type=synch