Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Created May 11, 2016 19:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save BFTrick/34e11c9d2b91f44a37e3196066e1bc98 to your computer and use it in GitHub Desktop.
Move SKU field after all product data
<?php
// removes the meta information
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
// adds the meta information after all other product data
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_meta', 30 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment