-
Hello.
There are some issues with Rank Math and WPML.
When you set a “Primary” Product Category for a Woocommerce product, and probably for blog posts too, then translate the product or post with WPML, the primary product category is not “copied” and synced to the translation.
I have of course set “rank_math_primary_product_cat” to “copy” in the WPML section for custom fields. There is also no system fields beginning with an underscore for any of the Rank Math custom fields e.g. “_rank_math_primary_product_cat”.
If I open the translation in the WordPress standard editor (Classic Editor), and manually select the radio button next to the primary product category, and then click the blue Update button, then on page refresh the primary category selection disappears as if one had never been selected.
I am confident this is a bug.
Also I would recommend that you investigate the following custom fields as well. I haven’t tested the last two, but think they may also have an issue being copied.
rank_math_primary_product_cat (tested not working)
rank_math_primary_category (no tested but suspected)
rank_math_rich_snippet (no tested but suspected)
Thank you.
PS Rank Math Version 1.0.27.4
The ticket ‘Primary Product Category and WPML’ is closed to new replies.