Background of the issue:
We have two custom taxonomies for WooCommerce products, created using Extended CPTs (hidden link), to have a single-select dropdown for choosing the taxonomy. We have over 1000 products and 6 languages on the site. Custom fields are registered using ACF and are set to 'copy' or 'copy once'.
Symptoms:
When I duplicate products to other languages, those taxonomies do not get copied to the product. Custom fields do not get copied to the duplicated products until I edit the duplicated product and save/update it.
Questions:
Why are custom taxonomies not copied when duplicating products to other languages?
Why do custom fields registered using ACF not get copied until I edit and save the duplicated product?
I don't know how to implement it for my case. I have two issues:
1. Custom taxonomies are not copied. They are assigned to a product just like WooCommerce product categories are, they do not depend on ACF.
2. The problem with ACF is that repeater field doesn't get copied until I enter and update the product.
I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.
NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.
Everything looks OK, I assume because you did the following "edit and update translated product", correct?
On the same product, I duplicated it to Hungarian and it seems to be working OK without me having to update it again. Am I missing something to reproduce the issue?
Like I mentioned, the only thing I still have an issue with is "energy_certificates" repeater field.
For example if you look at this product in original language you'll see those energy certificates - hidden link
But they do not get copied to translated language - hidden link
I believe implementing the fix shared earlier with you in the functions.php should resolve this issue.
At the moment I am not able to locate the Field Groups area to edit the ACF Field Groups on the site, is it missing or hidden? I can see that ACF Pro is activated.
The topic ‘[Closed] Custom taxonomies not copied when duplicating products to other languages’ is closed to new replies.