Hi Swift Ideas team,
Is there someway to remove the checkbox on the checkout page, so that Shipping Address is mandatory?
In form-shipping.php, if I remove:
<p id=”ship-to-different-address”>
<input id=”ship-to-different-address-checkbox” class=”input-checkbox” <?php checked( $ship_to_different_address, 1 ); ?> type=”checkbox” name=”ship_to_different_address” value=”1″ />
<label for=”ship-to-different-address-checkbox” class=”checkbox”><?php _e( ‘Ship to a different address?’, ‘swiftframework’ ); ?></label>
</p>
I get the effect I want, but unfortunately data in the Shipping Address fields are not saved when a customer checks out, and instead it seems like the checkbox is automatically unchecked, so that the Billing Address is saved as the Shipping Address. Is there someway to have the checkbox always internally in the code set to checked, and have it not displayed on the page?
Thank you,
Sarah