Support

Account

Home Forums ACF PRO How to display WooCommerce products by Taxonomy field from ACF?

Unread

How to display WooCommerce products by Taxonomy field from ACF?

  • Hello,
    I am wondering how to display WooCommerce random 6-7 products from specific category on front-page.php by checking it in WordPress Page Editor.
    I made a new type field – Taxonomy and choose Taxonomy – Category (product_cat).
    1. Should I choose Return Value: Object (WP_Term) or ID ?
    2. After step 1 is there any other way to display a products from choosen category than WP_QUERY? I need to display 3-4 categories (each in new row/section on page) and 6-7 products from each category.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.