Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // show attributes where short description normally goes
- // code goes in functions.php for your child theme
- remove_action ( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
- add_action ( 'woocommerce_single_product_summary', 'show_attributes', 20 );
- function show_attributes() {
- global $product;
- $product->list_attributes();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement