So i want to make it responsive and there is a feature called code in this plugin and please could someone who know or use this plugin provide me the sample code or usage to adjust the badge position and size and to be responsive both in website and mobile.
]]>Thanks, Claire
]]>Love this plugin and have been using it for a long time now – congrats on the great work!
Have you ever thought about adding a ”Coming Soon” badge to replace the default ”Out of Stock” badge set by WooCommerce in product thumbnail view? Would be the incing on the cake!
Thanks,
Luís
//* Add sold out badge on archive pages
add_action( ‘woocommerce_before_shop_loop_item_title’, function() {
global $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>Sold out!</span>’;
}
});
//* Add sold out badge on single product pages
add_action( ‘woocommerce_before_single_product_summary’, function() {
global $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>Sold out!</span>’;
}
});
I have a new installation of WP and WC and have loaded 40 new products over the last few months. The “New” badge is on all my products. I have found nowhere to remove or add a “time, 30 Days” for the image to appear or disappear.
We have added additional plugins for “Product Badges” but the old New Badge sill remains.
Any suggestions would be very much appreciated.
https://www.ads-software.com/plugins/woocommerce/
]]>I have a new installation of WP and WC and have loaded 40 new products over the last few months. The “New” badge is on all my products. I have found nowhere to remove or add a “time, 30 Days” for the image to appear or disappear.
We have added additional plugins for “Product Badges” but the old New Badge sill remains.
Any suggestions would be very much appreciated.
]]>