custom post type as list of product variation
New to this and have no idea how to approach this.. any help would be really appreciated!
Using woocommerce and wordpress. I have a custom post type with a list of fabrics (values are label and featured image) and i want to add a searchable dropdown field in the single product page (woo commerce) that is populated with all the values in the post type.
my question is how do i populate this new field with values so it pulls the info from the post type? at the moment i can only see how to do it by adding a custom attribute and manually enter the options.
new to post types and acf so any help would be very much appreciated!
thank you!
Leave an answer