New Landing How can we help? Themeforest Theme Support Neighborhood uncheck ship to address during checkout

Viewing 2 posts - 1 through 2 (of 2 total)
  • #51108
    dirtrag
    Member
    Post count: 5

    Is there a way to have the “Ship to a different address?” checkbox unchecked by default on the checkout page?

    If I check the “Ship to billing address by default” option under the WooCommerce shipping settings, items with Free Shipping don’t display an option for a different ship to address so the only way to force the ship to option to display on the checkout pageis to leave that unchecked.

    However this causes the “ship to a different address?” checkbox to be checked by default during checkout. Makes more sense if its default state is unchecked.

    help?
    thanks

    #51575
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi,

    in form-shipping.php change

    		<input id="shiptobilling-checkbox" class="input-checkbox" <?php checked($shiptobilling, 1); ?> type="checkbox" name="shiptobilling" value="1" />
    

    to

    <input id="shiptobilling-checkbox" class="input-checkbox" <?php checked($shiptobilling, 1); ?> type="checkbox" name="shiptobilling" value="0" />

    Let me know if that worked!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register