Skip to content

Instantly share code, notes, and snippets.

@akther80
Created February 11, 2019 06:51
Show Gist options
  • Save akther80/d20968f60734b0663e7b21c8849fab7a to your computer and use it in GitHub Desktop.
Save akther80/d20968f60734b0663e7b21c8849fab7a to your computer and use it in GitHub Desktop.
Electro v2 - Add Price and Add to Cart wrap in product body
add_action( 'woocommerce_shop_loop_item_title', 'electro_wrap_price_and_add_to_cart',61);
add_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_price',62 );
add_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_add_to_cart', 63 );
add_action( 'woocommerce_shop_loop_item_title', 'electro_wrap_price_and_add_to_cart_close', 64 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment