use slug instead of ID for rank_math_primary_product_cat

#699257
  • Resolved Kosh Mart
    Rank Math free

    Hi,

    I’m using WP All Import for setting the Rank Math Primary Category for products.

    The rank_math_primary_product_cat uses the category ID instead of the category slug, is it possible to use the category slug instead of the category ID, as I have a multisite setup, where all the subsites have the same category URLs but they dont have the same category ID for the same category.

    Therefore using the category slug is far more intuitive and easier to use than the category ID

    Thanks,

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting support.

    It’s not possible to change the behavior of the plugin in this matter. The plugin expects an ID and as such that value needs to be added to the database to be parsed correctly by the plugin.

    Don’t hesitate to get in touch if you have any other questions.

    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 1 replies (of 1 total)

The ticket ‘use slug instead of ID for rank_math_primary_product_cat’ is closed to new replies.