• Resolved MACscr

    (@macscr)


    I need the ability to do flat rate shipping in WooCommerce only to the continuous United States and then have a 0.00 shipping listed everywhere else as a manual invoice will be created for everywhere else. Thoughts? Im open to other ideas as well, but the customer wants to keep things as simple as possible. right now they just have paypal links for each product on their simple html only site and they manually invoice for anything outside the US for the additional shipping and then cancel the order if the user doesn’t want to pay it. Doesn’t seem like a great process, but i guess thats how they work. Im open to coding options that i can implement and/or commercial/open source plugins/snippets, or pretty much any idea in general that isn’t some custom quote.

    https://wordpress.org/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • ericbakuladavis

    (@ericbakuladavis)

    You could so this:

    Go to Admin Panel > WooCommerce > Settings > Shipping > Flat Rate

    Enable it and add United States to Specific Countries. For Cost per order, enter your US shipping rate. Save changes.

    Go to International Delivery and enable it. For Availability, choose Excluding Countries. For Countries, choose United States. For Cost, enter 0. Save changes.

    Then put this into your functions.php:

    add_filter( 'woocommerce_cart_shipping_method_full_label', 'remove_local_pickup_free_label', 10, 2 );
    function remove_local_pickup_free_label($full_label, $method){
        $full_label = str_replace("(Free)","(invoice will be sent)",$full_label);
    return $full_label;
    }

    Replace “(invoice will be sent)” with whatever message you want.

    When the user chooses United States on the checkout page, Shipping will show the rate you have chosen. When the user chooses any other country, Shipping will show “International Delivery (invoice will be sent)”, or something else depending on your custom message.

    Thread Starter MACscr

    (@macscr)

    Thank you so much! Absolutely perfect!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘shipping options’ is closed to new replies.