Do Not Populate Shipping When Ship To Different Address
-
Hello,
Is it possible to not have Woocommerce populate the shipping fields when a user checks the box “ship to a different address”? I was able to not have the fields populate by removing
$checkout->get_value( $key )
from<?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
in form-shipping.php but that ended up making it so that if the box was not selected and a customer wants to use their billing address then they are still forced to enter shipping info. What’s worse, they don’t even see that the fields aren’t being filled in because they are hidden when “ship to a different address” is not selected. So is there a way to not have the fields populated when a customer wants to use a different shipping address but to have them populate when they do want to use their billing address for shipping?
- The topic ‘Do Not Populate Shipping When Ship To Different Address’ is closed to new replies.