How to loop an ACF (image) to the Woo Product?

Looking to have a very specific product images on the home page (but not on the Product detail). I’m using ACF Pro. Ideally I’d be able to pick which products to highlight. Not sure how to approach this. Thanks for your suggestions. I have cross posted this on Woocommerce board.

1 Comment
  1. create new field group = custom image

    make sure its location is products

    upload “product image” to new field in products -> you just created this above

    on home page

    wp_query loop over the products CPT, get_field(‘ACF_NAME’)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer