Home Forums Themes Support Claue Related / Similar Products Are Not Very Similar

Topic Resolution: Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #6797

      Hi,

      I need to know where the theme is pulling the related products from that appear at the bottom of each single product page. At the moment it seems to be a bit random – shouldn’t it pull from the current category?

      If you look here: https://www.yaheestore.co.uk/shop/alphabet-chair-table-set-kids-children-playroom-plastic-abc-table-furniture-set/

      This is under the category Home Furniture & DIY > Furniture > Children’s Furniture

      But one of the suggested products underneath is a dog grooming table that isn’t even in the same category, that is in Pet Supplies > Dog Supplies

      Please can you let me know how I only show similar products from the same category underneath each product page.

    • #6798

      I’ve just reloaded the page and now it shows something from Sporting Goods > Pool & Snooker

      I think this is broken as it seems pointless to just show random products underneath that aren’t even in the same category.

    • #6808

      Hi,

      The related products get from the product have same tags, belong to same category https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/

      You can use a plugin to custom related products https://wordpress.org/plugins/woo-custom-related-products/

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #6810

      OK thanks I will look into that as it isn’t pulling from the categories as it’s supposed to do.

      Also can someone look into a more urgent issue that has started again since I updated to the latest version of the theme:

      Add to cart button taking 30 seconds to work

    • #6838

      Just for anyone else with this issue – WooCommerce pulls from both categories AND tags, so if you’ve tagged a lot of products with similar keywords then these will appear under “Related Products”.

      I have fixed this by adding the code below that ignores tags when matching related products:

      add_filter( 'woocommerce_product_related_posts_relate_by_tag', '__return_false' );

      to the functions.php file in the child theme folder.

    • #6839

      Despite the fact it explicitly states I can use BBCode in these replies, the above proves otherwise. Obviously ignore the [code][/code] of the above and use just the line inbetween.

    • #6845

      I edit the code to correct as you want

      Thank you so much!

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 6 reply threads

You must be logged in to reply to this topic.