bernard
BuSo Pro
- Joined
- Dec 31, 2016
- Messages
- 2,599
- Likes
- 2,302
- Degree
- 6
I'm not too pleased to discover, after spending for ACF Pro, that you can't import and create a new row to a repeater field from WP All Import. You can only overwrite.
I'm using it to store prices for dates, so that I can chart it with Chart.js (works fine), so each import should have created a new row of Date/Price, not overwrite with the current Date/Price.
Question is what to do?
I'm thinking it has to be using add_row (https://www.advancedcustomfields.com/resources/add_row/), function of ACF to create a function that grabs prices imported into "current price" and then combine with date in these new rows. Then have a WP All Import hook call than function following import?
I don't know if it works, but that sounds workable?
I'm using it to store prices for dates, so that I can chart it with Chart.js (works fine), so each import should have created a new row of Date/Price, not overwrite with the current Date/Price.
Question is what to do?
I'm thinking it has to be using add_row (https://www.advancedcustomfields.com/resources/add_row/), function of ACF to create a function that grabs prices imported into "current price" and then combine with date in these new rows. Then have a WP All Import hook call than function following import?
I don't know if it works, but that sounds workable?