[WooCommerce] Disable "Ship to a different address"
-
Hi,
For security reasons I need the delivery address to be the same as the address on the card used for payment. On my WooCommerce theme, on the checkout page it has both ‘Billing Details’ and ‘Ship to a different address?’, as shown in the photo below.
https://i59.tinypic.com/4uym51.jpg
I want to disable the ‘Ship to a different address?’ option completely, so it is not there and the checkbox cannot be ticked. All I have managed to do so far is just disable the checkbox by default, using the following code in my functions.php file;
add_filter( 'woocommerce_ship_to_different_address_checked', '__return_false');
But I haven’t been able to remove it completely.
Any help is greatly appreciated. Thanks!
- The topic ‘[WooCommerce] Disable "Ship to a different address"’ is closed to new replies.