Home > Docs > Product Import Export Plugin for WooCommerce > Export and Import Additional Variation Images in WooCommerce

Export and Import Additional Variation Images in WooCommerce

Last updated on December 6, 2023

Using WebToffee’s Product Import Export Plugin For WooCommerce, you can easily export or import products with images. However, the plugin WooCommerce Additional Variation Images allows you to add additional gallery images per variation. On exporting products with these additional variation images using the product import export plugin, each image’s ID will be exported. It is obvious that users might face difficulty in identifying each image using its ID and may result in ambiguity while importing. Therefore, in order to get rid of this issue, you can insert the below-given code snippet into the functions.php file of the active child theme. Follow the below-mentioned steps:

  • From the WordPress admin dashboard, navigate to Appearance > Theme File Editor.
  • Under Theme Files, select Theme Functions (functions.php).
  • Paste the code snippet at the end of the functions.php file of your active child theme.

Code Snippet:

On using this snippet, instead of image ID, the name or URL of the image will be exported enhancing the convenience in identifying the variation images while importing.

Similarly, you can use the below code snippet to achieve compatibility with the WooCommerce Additional Variation Images plugin while importing product with variation images.