How to display featured products on the homepage? (Sage 9 / WooCommerce)

2.1.0 is tagged. Changelog

4 Likes

Probably it’s better to use wc_get_products() instead of get_posts(). It’s the right way according to Woo and also here: https://cfxdesign.com/create-a-custom-woocommerce-product-loop-the-right-way/

1 Like