Home Forums WoodMart support forum Changing what “Related Products” shows

Changing what “Related Products” shows

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #540540

    anton-8481
    Participant

    On a single product page at the bottom we have the “Related Products” carousel. It is hard coded to show products with the same tags and/or within the same category. This is not helpful for us, since we use attributes a lot more than tags. I want to change this to show products from the same manufacturer or be able to change it to certain attributes.

    I found the woocommerce / single-product / related.php file, but it seems to only modify the look, not the content.

    Could you tell me how I would go about changing this or at least point me to the right .php file, so that I could experiment?

    Thanks.

    #540692

    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.

    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.

    For more details please check this documentation:
    https://quadlayers.com/customize-woocommerce-related-products/

    Hope this helps!

    Best Regards.

    #541023

    anton-8481
    Participant

    Thank you for pointing me to that documentation, but it doesn’t tell me how to change it from tags to attributes. We have an attribute for the manufacturer, which I would like to use. Is there no way to change it?

    Also, regarding the category, it only looks at the parent category, not the sub-category. That gives very random results, most often not helpful.

    #541270

    Hello,

    Could you please check how it works with the default wordpress theme just to check whether the issue is with our theme or not.

    Best Regards.

    #541392

    anton-8481
    Participant

    That’s not really a possibility, I don’t have an closed environment for doing such a drastic change to our webshop. I was just hoping some of the gurus here would know how to do this.

    #541429

    Hello,

    In general, the “Related Products” section comes from WooCommerce so please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand if is it our theme issue or not.

    Looking forward to hearing back from you!

    Best Regards.

Viewing 6 posts - 1 through 6 (of 6 total)