/** * @snippet WooCommerce Disable Shipping Rates if Variation ID @ Cart * @how-to Get CustomizeWoo.com FREE * @sourcecode https://businessbloomer.com/?p=17436 * @author Rodolfo Melogli * @compatible WooCommerce 3.4.4 */ add_filter( 'woocommerce_package_rates', 'bbloomer_unset_woocommerce_shipping_methods_when_ids', 10 ,2 ); function bbloomer_unset_woocommerce_shipping_methods_when_ids ( $rates, $package ) { // loop through the cart foreach ( WC()->cart->get_cart() as $cart_item_key => $values ) { $_product = $values['data']; // if product variation id @ Cart, disable all but Local Pickup if( $_product->variation_id == 8741 ) { $local_pickup = $rates['local_pickup']; $rates = array(); $rates['local_pickup'] = $local_pickup; } } return $rates; }

Even though our weekly Friday night tastings: Meet the makers, are being postponed until further notices; we are open and doing our very best to help you through these difficult times.

Whilst you can visit the store if you wish to, at our usual opening hours, we can also deliver to Port Melbourne and its surrounding suburbs in a 20km radius.

Delivery is complimentary for any $100 (minimum) orders and includes every product sold at Decanters by the Bay e.g. from commercial to craft beers, wines, spirits, snacks, pre-mixes, mixers and soft drinks.

We value the safety and health of both team members, clients and suppliers, therefore we do recommend everyone to respect the hygiene measures recommended by the Health Government.

Order Wine, Beers and Spirits here.

Payment can be arranged prior to delivery via bank transfer, or upon delivery with our portable EFTPOS machine!

For all other deliveries requests and/or questions.

Give us a call 03 9676 9440 or email us glenn@decanters.com.au for more information.

The DecanTeam