Hello,
I have a repeater field assigned to product CPT : date & hour
Is there a way to auto-populate the product attribute field with the repeater row values? (juste the date)
example: for one product I have 2 dates : 20th decembre 2020 and 22th january 2021
I would like to have the product attribute automatically set as :
20th decembre 2020 | 22th january 2021 (screenshot attached)
I can tell you generally how to do this, but I cannot give you specifics.
Create an acf/save_post action. In this action get the values of the repeater.
Then you need to figure out how to update the product attributes https://www.google.com/search?client=firefox-b-1-d&q=woocommerce+set+product+attributes+programmatically