Hi there,
You can add related products, or up-sells, cross-sells, here’s the documentation on how to do that: https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/
Hope this helps. Feel free to get back to me in case you have any additional questions!
Thanks for the reply @thup90 , but I do not want to add related products, but add a listing of products on my website posts. Not on the product pages.
eg : https://club-stephenking.fr/sortie-anatomie-de-lhorreur-avec-25-pages-inedites-de-stephen-king
At the bottom of the article is “AUTRES CONTENUS : LIVRES” which is basically a content recommandation.
I would like to add, below this widget, the same thing… but with products.
So quite similar to those at the bottom of my product pages :
https://club-stephenking.fr/produit/coffret-apres-minuit
Any ideas of where I could look into?
Thanks again !
Hi there,
To add the products to your posts, you can use the [products] shortcode that’s explained in this documentation here: https://docs.woocommerce.com/document/woocommerce-shortcodes/
You can add this shortcode to a widget, or embed them into the posts.
Hope this helps!
-
This reply was modified 6 years, 11 months ago by
Thu P. a11n.
Rynald0s
(@rynald0s)
Automattic Happiness Engineer
Howdy!
We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.
Cheers!
Hello
Thanks @thup90 , that’s interesting!
However, I dont want to add widdget WITHIN my individual posts, but directly into my template (in the single.php file), so that it’s automatically at the bottom of all my articles.
Just like my posts recommandations.
Is it possible?
Any idea of where I should look into?
Thanks
Well, this can be closed.
I basically just needed to know that the WP Query was based on the post_type being “product”