One click (automatic) linking
It is possible to link (assign) many Orbitvu presentations to many 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.
Tip! Orbitvu presentation's SKU can be edited on your SUN account.
In order to execute "Auto linking" script please go to the "System -> Configuration -> Catalog -> Orbitvu SUN" and scroll down to the bottom of the page to the section "Cron jobs".
Before executing "Auto linking" script, let's see which products have assigned Orbitvu presentations.
Let's execute "Auto linking" script.
Note! This script may consume a lot of time depending number of products in Magento shop and number of Orbitvu presentations on your SUN account. 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/shell" and type: php -f orbitvusun.php -- 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 -> Manage products".
As you can see, above screen shows that Gino Rossi 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 make changes on your SUN account for particular Orbitvu presentation (i.e: SKU change, adding/removing items to/from the Orbitvu presentation), it is necessary to update linked (assigned) Orbitvu presentation in a shop (keep Orbitvu presentation up to date with SUN).
To do this, we 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/shell" and type: php -f orbitvusun.php -- synch