Sale-Flash.php doesn't works

ThemeBurn SupportForumsWordPress ThemesShoppica WordPress ThemeSale-Flash.php doesn't works

This topic has been marked as not resolved.

Dear support, in the file /woocommerce/loop/sale-flash.php there is the following code, but if i deleted it or edit nothing happen in the template? Why?

I need to add the code in here: http://www.wpstuffs.com/display-product-discountoffer-percentage-bubble-woocommerce/ and in another template works smoothly, in yours not becuase problably there is something wrong.

Can you help me please?
Thanks


<?php
/**
 * Product loop sale flash
 *
 * @author     WooThemes
 * @package   WooCommerce/Templates
 * @version     1.6.4
 */

global $post, $product;
?>
<?php if ($product->is_on_sale()) : ?>
  
  <?php echo apply_filters('woocommerce_sale_flash', '<span class="onsale">'.__('Sale!', 'woocommerce').'</span>', $post, $product); ?>
  
<?php endif; ?>

  • This reply was modified 3416 days ago by  chiaromonte.
December 18, 2014 at 11:24 am #35818

Hello,

You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!

Best,
ThemeBurn team

December 23, 2014 at 8:28 pm #36007
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.