Batch operations (one click linking and synchroniznig)
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 AS Editor 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 "Stores -> Configuration -> Orbitvu SUN -> Cron jobs".
Before executing "Auto linking" script, let's see which products have assigned Orbitvu presentations ("Catalog -> Products").
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" 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 -> Manage products".
As you can see, above screen shows that Gino Rossi, Kit Maxi 3d and Samsung Gear Fit 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" and type: php bin/magento orbitvu:start --type=synch