Themekraft / wc4bp

WooCommerce BuddyPress Integration
GNU General Public License v2.0
18 stars 8 forks source link

BILLING NAME/EMAIL OVERRIDE USER ACCOUNT FIELDS AFTER CHECKOUT #188

Closed gfirem closed 6 years ago

gfirem commented 6 years ago

We need to add a new option to avoid this behavior.

Now when the user run over the checkout the plugin will override the data provided (first_name, last_name and user_email) in the wp user data.

With this new option this behavior will be control and the user can disable this override.

gfirem commented 6 years ago

https://stackoverflow.com/questions/45731107/avoid-woocommerce-checkout-billing-form-to-overwrite-default-wordpress-user-data

wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:924

filter woocommerce_checkout_update_customer_data

gfirem commented 6 years ago

https://github.com/Themekraft/wc4bp/tree/feature/avoid-woo-override-profile