Skip to content

Instantly share code, notes, and snippets.

@mrgarry043
Last active December 28, 2018 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrgarry043/3eee915e188bfef037dbd19ac5d1f362 to your computer and use it in GitHub Desktop.
Save mrgarry043/3eee915e188bfef037dbd19ac5d1f362 to your computer and use it in GitHub Desktop.
Move add to cart and variations about description
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 15 );
// Try this to move only varations
remove_action( 'woocommerce_single_variation', 'woocommerce_single_variation', 10 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_single_variation', 15 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment