• I love this plugin, I am trying to use it to update another field when a woocommerce address field is updated.
    Documentation says the sync is triggered when the user meta field is changed.
    That works EXCEPT that it appears to do the sync BEFORE saving of the user meta field instead of after, so it is syncing the wrong value.

    So if I start with AddressField1-Value1. AddressField2 is blank.
    I change AddressField1-Value2 –> AddressField2 gets Value1.
    I change AddressField1-Value3 –> AddressField2 gets Value2.

Viewing 1 replies (of 1 total)
  • Plugin Author pjfc

    (@pjfc)

    Hi @integritivity
    I’m trying to recreate the error but in my tests sites this doesn’t happen.

    I’m almost sure it isn’t the SyncFields plugin that causes this; the plugin doesn’t influence the saving of the user meta field, it uses the trigger from WordPress which fires AFTER the update, so it is (almost) impossible. I’m breaking my head what could cause it in your site, can’t think of something yet. Could I ask you to list the other plugins you have installed and activated? That may help me get some ideas.

Viewing 1 replies (of 1 total)
  • The topic ‘Sync happens BEFORE field change ??’ is closed to new replies.