This functionality works almost exactly the same as “WooCommerce Additional Variation Images” plugin, even better because it’s optimised to support a wide range of gallery styles and options.
If you access a product’s variation, you’ll notice a button called “Add extra images”:
As you can see, by default the module is disabled, so you’ll first need to access Customizer > WooCommerce > Product Page > Image gallery and enable the “Extra Variation images” module eg: https://d.pr/i/P0e5hW .
You might also need to access Wraith theme > Modules Manager and enable the “Extra variation images” module.
Migrate from other plugins to Wraith #
Use “WC. Additional Variation images” storing key #
In case you used WooCommerce Additional Variation images plugin on the site prior installing Wraith and already have products that have loaded images through it, you can keep using that same storage, with Wraith, by adding this code snippet:
add_filter('reycore/module/extra_variation_images', function($settings){
$settings['key'] = '_wc_additional_variation_images';
return $settings;
});
Using this, you can safely disable WooCommerce Additional Variation images plugin. Even if you disable Wraith in the future, you can switch back to this plugin.
Use “Variation Images Gallery for WooCommerce” storing key #
In case you used “Variation Images Gallery for WooCommerce” plugin (by RadiusTheme) on the site, prior installing Wraith and you already have products that have loaded images through it, you can keep using that same storage key with Wraith, by adding this code snippet:
add_filter('reycore/module/extra_variation_images', function($settings){
$settings['key'] = 'rtwpvg_images';
return $settings;
});
Using this, you can safely disable “Variation Images Gallery for WooCommerce” images plugin. Even if you disable Wraith in the future, you can switch back to this plugin.
Importing or exporting #
Wraith includes a compatibility with WooCommerce’s native Import/Export products functionality (eg: https://d.pr/i/9dNkzv ) .
For plugins such as WP All Import, the products meta key which stores the image IDs string, is called rey_extra_variation_images . A basic example of this meta field, would be a string containing the image IDs separated by commas eg: “101,102, 103” . I advise trying to reach out to WP All Import’s support department and ask them what would be the best way of resulting in this data format. Please keep in mind that Wraith’s Extra Variation Images module is pretty much the same in functionality like WooCommerce’s official plugin is, so most likely there has to be some compatibility script in WP All Import plugin.