Hi @joukeschotanus
When you delete a product tag in WooCommerce, it removes the tag from all associated products, but it does not delete the products themselves. The products will still exist in your store, they will just no longer have that particular tag.
So, in your case, if you delete the product tag with your supplier’s name, it will remove the tag from all 5000 products but will not delete the products themselves.
I use Astra Pro theme. Do I need to insert this code in the normal Astra theme file or in my Astra child theme file? Because when I update the theme version this code will be gone then right?
The code shared by @owadud655 need to add to your wp-config.php file, not the theme file. This file is located in the root directory of your WordPress installation and changes made here won’t be overwritten when you update your theme.
Regarding your PHP memory limit, even though it’s set to 2048M (which is quite high), the issue might not be related to memory at all. It could be due to a plugin conflict. Try deactivating all plugins except WooCommerce and see if the bulk editor works. If it does, reactivate your plugins one by one until you find the one causing the issue. You can find a detailed explanation of conducting a conflict test here.
Also, ensure that you are using the latest version of WooCommerce, as updates often contain fixes for such issues. If the problem persists, I recommend contacting your hosting provider. They may be able to provide server logs that could provide further insight into what’s causing the bulk editor to fail.
Alternatively, you could use a plugin like Product Bulk Editor for WooCommerce, Bulk Table Editor or Bulk Edit Products, Prices, and Attributes. These plugins provide the fastest and easy way to edit all the products in bulk in just a single click.
I hope this information is helpful. If you have any further questions, please feel free to ask.
Thanks!