-
-
Save deadlyhifi/5b7115d79e610f125a3c to your computer and use it in GitHub Desktop.
Thanks @m16averick.
@m16averick - It's not working for me, but I have hierarchal categories. Can it be made to work that way or with tags?
I tested the code on my site.
I see no effect on how it works in related products. Probably because all the products also have the "Uncategorized" category. Should the code be changed to remove this category from the search for related products?
I'm using the DIVI theme, I don't wish it was a DIVI problem. What do you think?
Thanks
I find this plugin which is suitable for our requirement - Related Products for WooCommerce by WebToffee,
After installing the plugin you can able to display products based on category and tags. If you want to display products based on sub-category follow this tutorial. https://www.webtoffee.com/related-products-woocommerce-user-guide/#sub_category
I find this plugin which is suitable for our requirement - Related Products for WooCommerce by WebToffee, After installing the plugin you can able to display products based on category and tags. If you want to display products based on sub-category follow this tutorial. https://www.webtoffee.com/related-products-woocommerce-user-guide/#sub_category
Thanks alot
Here's my solution for newer WooCommerce, add this to functions.php and include this filter in post query in carousel or somewhere :p merry xmas!