Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function disable_shipping_calc_on_cart( $show_shipping ) {
- if( is_cart() ) {
- return false;
- }
- return $show_shipping;
- }
- add_filter( 'woocommerce_cart_ready_to_calc_shipping', 'disable_shipping_calc_on_cart', 99 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement