Created
November 19, 2019 06:56
-
-
Save ibndawood/1c46037c2c1940e6fe09e0940eb5a157 to your computer and use it in GitHub Desktop.
Electro v2 - Move single product description/excerpt above add to cart
This file contains 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_move_short_desc_below_price', 10 ); | |
function ec_child_move_short_desc_below_price() { | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 ); | |
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 28 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment