user1269586
user1269586

Reputation: 370

Advanced Custom Fields to WooCommerce API

I'm using WooCommerce and Advanced Custom Fields on my WordPress website. I want to add Advanced Custom Fields to WooCommerce API to get custom field value for each product.

How can I do it ?

Thanks

Upvotes: 5

Views: 3589

Answers (1)

Andrew M
Andrew M

Reputation: 785

What you could do is the following

Go to Custom Fields and create a new field group - add in whatever data you need for the products and then, most importantly, in the location section ("Show this field group if") select to display the field group is equal to product from the drop down.

Then the field group will display when you have any product open.

Upvotes: 0

Related Questions