• Resolved cihatcetintr

    (@cihatcetintr)


    Hi,

    According to which criteria are the related products sorted in woocommerce?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    Related Products is a section on some templates that pulls products from your store that share the same tags or categories as the current product.

    These products cannot be specified in the admin but can be influenced by grouping similar products in the same category or by using the same tags.

    You can learn more about that over here:

    https://woocommerce.com/document/related-products-up-sells-and-cross-sells/

    Best,

    Thread Starter cihatcetintr

    (@cihatcetintr)

    Hi,

    After this explanation, can we say that the related products were created by random if we did not select them specifically?

    • This reply was modified 2 years, 8 months ago by cihatcetintr.
    Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for getting back to us.

    It won’t be going to show anything under the related products if that condition doesn’t fulfil (share the same tags or categories as the current product).

    For example, if you check the following screenshot, the related product section doesn’t appear, as this product doesn’t fulfill the condition, which I described earlier:

    I hope it helps!

    Best,

    This thread has been inactive for a bit, so I’m going to mark it as resolved. Hopefully, the above information was helpful to you!

    Please feel free to open a new thread if you have any further questions.

    Thread Starter cihatcetintr

    (@cihatcetintr)

    Hi,

    We tried but Wocoomerce related products section didn’t affected by subcategories and tags.

    We want products with the same category and tag to be displayed.

    What should we do for this?

    Is there a piece of code that provides a solution?

    Thank you

    Mirko P.

    (@rainfallnixfig)

    Hi @cihatcetintr,

    Related products may not work properly due to the template you’re using so you’ll want to test with other themes (Storefront, TWenty Twenty, etc.). Normally, related products feature pull products from your store that share the same tags or categories as the current product.

    It is important to note that if you have a large WooCommerce store with lots of categories and subcategories, the related products area will randomly select products from not only the same category but any parent category above the category set for the currently displayed product.

    If you want to only show related products from the same category or sub-category try the snippet on this article. Make sure to save a full backup before you do any changes to your site.

    All the best.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Related Products’ is closed to new replies.