Auto-select deepest product category term as primary term

#572504
  • Resolved LiNC
    Rank Math business
    Content AI Creator

    Hi,

    I’m currently working on a WooCommerce website that’s linked to Lightspeed stock. If a product gets added to Lightspeed, the product gets pushed to WooCommerce automatically. I’d like to automatically set the deepest product category term as primary term, so permalinks are correct.

    Example:
    Product category
    Product subcategory
    Product subcategory (automatically set as primary term)

    Would this be possible, and if so, how would I achieve this?

    Best regards,

    Luuk Timmermans

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    By default, our plugin sets the first category that you select for your product as the primary category.

    If you want to change it, you will have to edit the product and do it manually as there is no option to automate the selection of the lowest level as the primary term.

    Looking forward to helping you.

    Thank you.

    LiNC
    Rank Math business
    Content AI Creator

    Hi,

    Thanks for responding. I’ve already found a way to it!

    Best regards.

    Hello,

    We’re glad that you found a way to resolve this issue.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Auto-select deepest product category term as primary term’ is closed to new replies.