/** * @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; }

Black Heart Brewing ‘Forager’s Drops’

“You can’t have a 10.2% Russian Imperial Stout by 40C” Watch me.

La Sirene ‘Rose Wild Ale’

A Wild Ale with some Cabernet Sauvignon juice from the Yarra Valley Rose maker Dominique Portet. Great getaway beer for your wino mates.

Stone & Wood Counter Culture ‘REINVIGAM8’

Literally our train of thoughts when we opened the case of the new Counter Culture

“Pwetty…oh…what de….So…I mean…2.7%…righto….orange peel and orange juice?”

Well, you can’t judge until you try!

Pirate Life ‘Acai & Passionfruit’

Ahoy! Pirate Life has a new release; an Acai & Passionfruit sour haters gonna hate.

Mismatch Brewing ‘Not Your average Plum Gose’

Did you know that plums are

  • Antioxidant 
  • Treat Obesity
  • Control Diabetes
  • Prevent Osteoporosis

Surely my doctor won’t mind…