Skip to content

Instantly share code, notes, and snippets.

@woogist
Created April 23, 2015 10:34
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 woogist/bc9599f7a3dc9127cd81 to your computer and use it in GitHub Desktop.
Save woogist/bc9599f7a3dc9127cd81 to your computer and use it in GitHub Desktop.
Move the attributes outside the tabs
add_action( 'woocommerce_single_product_summary', 'wc_custom_show_attributes_outside_tabs', 35 );
function wc_custom_show_attributes_outside_tabs() {
global $product;
$product->list_attributes();
}
@stasonua0
Copy link

Is it possible to list only the required attributes for output?

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