WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Free shipping after a certain amount (5 posts)

  1. nikoza
    Member
    Posted 11 months ago #

    Hello I am trying to figure out if it is possible to offer free shipping after a certain amount of items. I really need this functionality, I am looking in the admin but cannot figure out how to set it.

    Thank you in advance,
    Nick

    http://wordpress.org/extend/plugins/woocommerce/

  2. IgniteWoo
    Member
    Posted 11 months ago #

    WooCommerce -> Settings -> Shipping -> Free Shipping. See the settings there.

  3. nikoza
    Member
    Posted 11 months ago #

    Hello IgniteWoo!!! You helped me a lot and I was amazed that it was already in place!

    How I would like to ideally set up my woocommerce woulf be to have flat rate for everything below the 100dollars and once this amount is hit to enable to free shipping and hide the flat rate in order to avoid comfusing the clients.

    The way it works now is to have a flat rate and once somebody hits 100dollars then both the flat rate and the free shipping is there.

    Is there a way to hide flat rate when free shipping is in place?

    Thank you in advance for your help so far!!

  4. IgniteWoo
    Member
    Posted 11 months ago #

    You can hide one or more with custom code - not trivial to do unless you're good with PHP and know WooCommerce code very well.

    On the other hand if a person sees 2 shipping options where one is free and one is paid, they'd choose free unless they want to pay :-)

  5. nikoza
    Member
    Posted 11 months ago #

    Hello everybody,

    Doing some research again I found this brilliant way to accomplish what I wanted.

    I decided to add it here as well for people looking to do the same thing.
    http://wordpress.org/support/topic/flatrate-shipping-and-free-shipping-both-viewed

    // Hide standard shipping option when free shipping is available
    add_filter( 'woocommerce_available_shipping_methods', 'hide_standard_shipping_when_free_is_available' , 10, 1 );

    /**
    * Hide Standard Shipping option when free shipping is available
    *
    * @param array $available_methods
    */
    function hide_standard_shipping_when_free_is_available( $available_methods ) {

    if( isset( $available_methods['free_shipping'] ) AND isset( $available_methods['flat_rate'] ) ) {

    // remove standard shipping option
    unset( $available_methods['flat_rate'] );
    }

    return $available_methods;
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.