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

Garage Project – Unconditional Love IPA

The perfect gift for Valentine’s, with this mixtape IPA featuring a double platinum selection of West Coast hops.

Dainton – Peach Iced Tea NEIPA

Close your eyes and you won’t know the difference. We are calling it already: tin design of the year!

From Dainton’s rad Insta

Holgate – Sour Brett Ale

Two years of bottle aging has this funky little number singing the perfect tune!

Mandarin Ales – Temple Brewing vs. Burnley Brewing

Two cracking mandarin goses on a face to face – which one will steal your heart?

Dainton – Fruity Freeze NEIPA

Boost Juice would be proud.

JM & VKL