PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

[woocs_show_custom_price] shortcode not trimming zeros

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

I'm using this snippet to trim zeros on my site:

add_filter( 'woocommerce_price_trim_zeros', '__return_true' );

But it doesn't trim the zeros on the price displayed by this shortcode:

[woocs_show_custom_price value=5]

Instead of"5" I'm getting"5.00".

Hello

Use  this  option - https://c2n.me/4bSkN3s.png

The issue with using that option is that I lose cents on some prices. I just need to hide the zeroes.

Hello

Unfortunately the plugin does not have this feature.