Home Forums General Issues Post object to current Woocommerce query


Post object to current Woocommerce query

  • Hi all,

    I have a custom field called “related_products” that I added to my posts. The field type is Post Object with a filter for products.
    I want to display the selected product(s) using the products component from Woocommerce. I think I should somehow set the current query to the selected products to display them in said component. I can’t figure out how though. Does anyone maybe have some suggestions?


Viewing 1 post (of 1 total)

The topic ‘Post object to current Woocommerce query’ is closed to new replies.