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

How can i round up my sale price large number in your plugin

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
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 [] 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.

i use this code you rifer that

add_filter('woobe_number_field_manipulation', function($value, $field_key, $product_id) {
if($field_key == 'sale_price'){
   $value = round($value, -3);
    return $value;
}, 10, 3);

but it does not work or i cant use it

look at my pic this changes does not appear in wpbear


It shouldn't show.

Your code change will round up prices to the nearest thousand. And this function always works, you do not need to choose something