Advertisement
Gecata1

Disable Woocommerce cart page shipping info

Sep 25th, 2024
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. // Disable Woocommerce cart page shipping info
  2.  
  3. add_action( 'woocommerce_before_cart', 'bbloomer_hide_shippingto' );
  4.  
  5. function bbloomer_hide_shippingto() {
  6.    echo '<style>.woocommerce-shipping-destination{display:none}</style>';
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement