Custom Sale Badge Image
-
Hi, I am using WooCommerce with the Kallyas theme. I would like to replace the sale badge icon image to a custom one that is in the shape of a ribbon instead of the standard callout bubble that is currently showing. How can I do that? I’ve tried adding the following code to my functions.php file but it didn’t do anything….
add_filter( ‘woocommerce_sale_flash’, ‘my_custom_sales_badge’ );
function my_custom_sales_badge() {
$img = ‘<span class=”onsale”></span>’;
return $img;
}The website is: dressforhumanity.com
Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Custom Sale Badge Image’ is closed to new replies.