stop save shipping fields for future orders
-
Hi,
By default, Woocommerce saves the billing and shipping address on the checkout page, for future orders.I am searching for a way to prevent Woocommerce from saving the values in the shipping address. So all the fields in the shipping address should be empty.
I found some partial solution:
add_filter('woocommerce_checkout_get_value','__return_empty_string',10);
It only works for the first step, and the second step (shipping fields) stays with contents.
Is there any option to hide also the second step?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘stop save shipping fields for future orders’ is closed to new replies.