Rynald0s
(@rynald0s)
Automattic Happiness Engineer
Hi, @trimastir!
You can use the following code:
add_action( 'woocommerce_after_shop_loop_item', 'bbloomer_show_free_shipping_loop', 5 );
function bbloomer_show_free_shipping_loop() {
echo '<p class="shop-badge">YOUR TEXT GOES HERE</p>';
}
Add that using the https://ww.wp.xz.cn/plugins/code-snippets/ plugin
Cheers!
Thread Starter
Jai
(@trimastir)
its working fine..
its is possible to add individual custom text for each product???
Rynald0s
(@rynald0s)
Automattic Happiness Engineer
Hi, @trimastir!
I put a little plugin together here
https://github.com/rynaldos/wc-custom_text_arhive_per_product.php
It adds a custom text field to the product data that would let you specify custom text on a per product level, and then show that text on the archive/shop page. It currently only works for simple type products
Cheers!