Skip to content

Instantly share code, notes, and snippets.

@digitalchild
Last active June 3, 2020 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save digitalchild/591160ed0302ab101207054c5b4fbcb5 to your computer and use it in GitHub Desktop.
Save digitalchild/591160ed0302ab101207054c5b4fbcb5 to your computer and use it in GitHub Desktop.
Remove shipping panel from single product page
<?php
// remove shipping panel from product single page and remove ships from
remove_action( 'woocommerce_product_tabs', array( $wcvendors_pro->wcvendors_pro_shipping_controller, 'shipping_panel_tab'), 11, 2 );
remove_action( 'woocommerce_product_meta_start', array( $wcvendors_pro->wcvendors_pro_vendor_controller, 'product_ships_from'), 9 );
?>
@marcofloriano
Copy link

Very usefull, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment