Created
November 23, 2013 12:51
-
-
Save agusmu/7614272 to your computer and use it in GitHub Desktop.
WooCommerce - Replace Sale Flash Content With Product Price
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
<?php | |
/** | |
* Replace Sale Flash Content With Product Price | |
* | |
* @author PrimaThemes | |
* @package WooCommerce | |
* @version 1.0 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $post, $product; | |
?> | |
<span class="onsale"><?php echo $product->get_price_html(); ?></span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment