woothemes/woocommerce — Issue #395: Edit Address Shortcode
Author: spencerfinnell
Created: 2011-12-19 18:49:51+00:00
State: open

Thanks for moving the shortcodes to a template file! Certainly helps.

However, I've run into another problem. I've filtered the billing fields array to not have any of the fields required. But, the `woocommerce_save_address()` function does not take that into account. So if I'm editing my billing address and don't include an option that shouldn't be required, the function still fails. Not only does it ask me to enter the extra field, but none of the other data that I inputted is saved.

The second part is easily fixed by just updating any of the fields that have data in them, and not caring if any are empty. i.e remove line 171 in `shortcode-my_account.php` -- The first part will need to have the billing fields array most likely moved to a different location, and allow it to be accessible in other files to create a more global and consistent list.

Thanks for all of the help, and active development.