Product Import Export plugin for WooCommerce helps you to import and export products very easily. To alter the product data of all the products after import, simply add the mentioned code snippet to 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: