This topic has 4 replies, 3 voices, and was last updated 7 years, 4 months ago ago by Amzy Leel
I don’t want the shipping to be viewed in the cart/basket – I would only like this as an option once they click through to checkout.
How do I remove the shipping options from the cart?
Hello,
Go to WooCommerce > Settings > Shipping > Shipping options > Enable the shipping calculator on the cart page > Off http://prntscr.com/fuekwb
Regards
Hi – Thanks, I know about this option – but this doesnt remove the shipping options from the cart – it just removes the shipping calculator – doesnt remove the shipping options from the cart page. Please can you tell me how to do that?
Hello,
This needs some customization.
Put following code at the bottom of the functions.php in Appearance >> Editor
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 )
Make sure you are using the child theme
Tagged: basket, best selling, cart, shipping, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up