Only current subcategory in related products

#562663
  • Resolved Dre
    Rank Math free

    I found this thread on how to only include primary product category products in the related products, but how can I only inlcude the current sub categories’ products? For example, I have a product “Shirt” in the parent category “Tops” and the grandparent category “Clothing”. If I view another product which is also in “Clothing” but not in “Tops”, it should not be in the related products on the “Shirt” single product page.

    Thank you!

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

You must be logged in to reply to this ticket.