samedi 2 septembre 2023

Disable "Ship to a different address?" enabled by default in WooCommerce checkout

I'm using a template for my website, and the default value of "shipping to another address" is set to one. It causes opening a long form.

I have read there's no way to change it by CSS codes, but the information may not be up-to-date. So please check the picture and code, and if there's any way to address the issue, please let me know.

Content Management System: WordPress

screenshot of error

<input id="ship-to-different-address-checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" checked="checked" type="checkbox" name="ship_to_different_address" value="1">

I read online there's no way to change it by CSS codes, but the information may not be up-to-date. So please check the picture and code, and if there's any way to address the issue, please let me know.




Aucun commentaire:

Enregistrer un commentaire