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


CoConspirators x Redwood The Distributor

A new Hazy Double IPA. from the brewery that never fails! 

Hop Nation The Kalash 2019

Da! It’s Russian Imperial Stout season. Bourbon Barrel-aged for 4 months. Limited stock available.

Hop Nation x Supreme The Husk

Cascara NEIPA Hop Nation GABS 2019 beer. Made using sun-dried coffee bean skin (called husk) and a dash of Melbourne Rooftop honey.

CoConspirators The Matriarch

A fresh batch the NEIPA has just landed!

Balter IIPA 

It’s back! To try or re-try whilst it lasts.

Hop Nation Lapin

Ou es tu le lapin? Foedre Beer With Cherries – ultra-limited! 

3 Ravens Milk Stout

Big barrel-aged Imperial Milk Stout – super limited