-
dariobanfi
I have been using GeneratePress for many years and I really love it! I find no solution to this issue for a Woocommerce Shop: I want to display at the bottom of every single product page a mini-catalog of Products of the same category (best of all of the same custom taxonomy) of the Product itself. I found the way to display this loop using a specific name of category, but I really want to generate dynamic query, using exactly and only the categories of the Product itself. Is there any simple way to display them (using dinamic data or some query loop..)? Alternatively can you suggest me a way using code? Thank you very much for your support.
-
Fernando
Hi Dario,
In Appearance > Customize > Layout > WooCommerce, there’s an option to add related products for Single Products. Reference: https://docs.generatepress.com/article/woocommerce-overview/#single-product
But that option relies on WooCommerce’s shortcode mentioned here if you want the logic/code to it: https://woocommerce.com/document/woocommerce-shortcodes/#related-products
-
dariobanfi
Hi Fernando, thanks for your suggestions.
I decided to build a shortcode by myself. There was no pre-built solution for my need.
Thanks the same for your support. -
Fernando
I see. Glad you found a solution! You’re welcome, Dario!
- You must be logged in to reply to this topic.