Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Harrison

    (@matt-h-1)

    I tried out using your custom code.

    It looks like this isn’t related to the address book plugin at all as even trying to save the Shipping Address without using the address book it also doesn’t look.

    However, testing it out and it seems that WooCommerce requires the shipping_country to be used in order for the Save Address code to work. So if you remove your line to unset $fields[‘shipping_country’] then it should work fine.

    I guess you could hide that field with CSS if you have it set to default to a country and that country never changes.

    Thread Starter edgarweb

    (@edgarwebstudio)

    Great Great !!! Works for me, thanks…)))

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Have Problem With saving fields’ is closed to new replies.