Home › Forums › Pre-purchase Questions › can i preload data from another field? › Reply To: can i preload data from another field?
thanks for your reply.
i am using a plugin to get my xml feed and there is no way (nothing that i have found at least) that i can edit a php file and modify my export.
thats why i was trying to come up with alternatives.
it seems my only options is to edit the mysql db directly…yet again is not the “correct” approach.
at the end of the day the goal was
property ProductID=ProductID OR if is Empty then ProductID=”CBC-“&& ProductSKU.
and since i dont have that “dynamic” attribute option in my plugin, i thought maybe i can use ACF to make an “intermediate” field publish it with the information i need and then use that in my xml.
so yeah is not 100% related to your tool, i was just trying to use your plugin to get into this alternative :/
thanks again for your time.
if you have any “ideas” to achieve this with ACF and some mysql sample code to try out and update the ACF fild, would be appreciated.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.