Related products only from the same current category

This topic has 4 replies, 2 voices, and was last updated 3 years, 3 months ago ago by Olga Barlow

  • Avatar: Itzik_Glam
    Itzik Glam
    Participant
    November 17, 2020 at 18:06

    how i can do that the related products widget will show products only from the current category of the viewed product?

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 17, 2020 at 20:26

    Hello,

    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.

    https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/#section-3

    Regards

    Avatar: Itzik_Glam
    Itzik Glam
    Participant
    November 24, 2020 at 19:04

    but the related products with this template not giving products from the same category by default

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 24, 2020 at 20:30

    Hello,

    Then they have the same tags. You can enable the default Storefront theme (Appearance > Themes > Install and activate Storefront) and check what related products you have with the default theme.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.