Last active
March 20, 2019 19:28
-
-
Save akther80/601410eed801f911b1341be70948d8d4 to your computer and use it in GitHub Desktop.
Electro v2 - Add SKU in single product summary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'ec_child_add_sku_in_single_product_summary', 10 ); | |
function ec_child_add_sku_in_single_product_summary() { | |
remove_action( 'woocommerce_single_product_summary', 'electro_template_single_divider', 11 ); | |
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 11 ); | |
add_action( 'woocommerce_single_product_summary', 'electro_template_single_divider', 12); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.single-product-wrapper .summary.entry-summary .product_meta .posted_in { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment