Comments Slobodan started the conversationApril 3, 2018 at 4:28pmhi ,i need to add a word "cena:" before the number price, http://prntscr.com/j0c3svhttp://prntscr.com/j0c47zHow is this possible?I see some plugins can do the job but im using already 20 different plugins so i dont want one more for such a small detail.Thanks 568Stormit repliedApril 4, 2018 at 5:14amHi Slobodan,You can add the custom PHP code below to the functions.php file of your child theme add_filter('woocommerce_get_price_html', 'boxshop_woocommerce_get_price_html_filter', 10, 2); if( !function_exists('boxshop_woocommerce_get_price_html_filter') ){ function boxshop_woocommerce_get_price_html_filter( $price, $product ){ if( $price ){ $price = '<span class="text-price">CENA: </span>' . $price; } return $price; } }Best regards,Slobodan repliedApril 4, 2018 at 10:17amThanks for the quick response!The code works for me, glad to use this theme, until now all works perfect!Cheers! Sign in to reply ...
hi ,
i need to add a word "cena:" before the number price,
http://prntscr.com/j0c3sv
http://prntscr.com/j0c47z
How is this possible?
I see some plugins can do the job but im using already 20 different plugins so i dont want one more for such a small detail.
Thanks
Hi Slobodan,
You can add the custom PHP code below to the functions.php file of your child theme
Best regards,
Thanks for the quick response!
The code works for me, glad to use this theme, until now all works perfect!
Cheers!