WC related offers - wrong

Closed
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme November 29, 2022
Login to reply
Jiří Výchopeň
1 year ago

Show only category - add to functions.php

add_filter( 'woocommerce_product_related_posts_relate_by_tag', '__return_false' );

Jiří Výchopeň
1 year ago

and is it possible to set it to show only products from the same category?

Thank you

Igor Sunz Support Agent
1 year ago

I see you have related products

https://monosnap.com/file/jaNJdHMaPM6PRWHrgKqZUkeYJJMr3H

Woocommerce counts related products not only by category but also by other criterias

Jiří Výchopeň
1 year ago

Hello,

do you know why the Related Offers are not displayed from the same category as the product on the detail?

Thank you

Regards

Additional Info

Link on page with issue: https://parfo.cz/katalog/aromaticka-mala-svicka-s-drevenym-knotem-chilli-pepper-gelato-31-g-woodwick/