Primary Product Category and WPML

#9671
  • Resolved DJ
    Rank Math free

    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

    • This topic was modified 4 years, 9 months ago by DJ.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    ​​​​​​​

    DJ
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    DJ
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    DJ
    Rank Math free

    Hello @michaeldavis

    So to be as clear as possible here is the issue.

    I set the “rank_math_primary_product_cat” to “copy” in the WPML section for custom fields.

    When translating a Woocommerce product to another language it does NOT copy and sink the products primary category. After the product has been translated and you go back and try to set the product’s primary category manually and then click the blue update button, on refresh no category is selected.

    You can see this by following my instruction in the sensitive data section of this post.

    If you want to do this on your own install, follow these instructions.

    1) Install Woocommerce
    2) Install WPML
    3) Set the “rank_math_primary_product_cat” to “copy” in the WPML section for custom fields
    4) Translate a product to another language (you can now see there is no primary category for the translated language)
    5) Try to manually choose the primary category for the translated lanaguage and click blue update button.

    Thank you.

    Hi there,

    Thank you for the access.

    I have been able to reproduce this when switching between different translations and this has been submitted to our dev team for closer investigations.

    Please hold the access and we will get back to you in a short while.

    We appreciate your patience. Thank you.

    DJ
    Rank Math free

    @michaeldavis

    Any idea how much longer this will take?

    Hi there,

    Apologies for the huge delay.

    I am checking this with the team and I will get back to you shortly.

    We appreciate your continued patience. Thank you.

    Hello @DJ

    WPML’s team has been unresponsive for a few months now to our emails and at this time you need to take this issue to them.

    We currently cannot say how much time it would take unless we hear back from WPML.

    Please let us know once you hear back from them and they are willing to fix the compatibility issues together.

    Sorry to disappoint but there’s hardly anything we can do here.

    I hope you understand. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

The ticket ‘Primary Product Category and WPML’ is closed to new replies.