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

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.

ex: 102300 -> 103000 or 234111 -> 235000 and 1002444 - 1010000

i see the function code i try it but nothing happen

Hello

What code are you using?

use  round($price, -3);

you mean this code right
add_filter('woobe_number_field_manipulation', function($value, $field_key, $product_id) {
   round($price, -3);
    return $value;
}, 10, 3);

Hello

Absolutely not

Which plugin are you using?  You wrote in support of the currency converter(WOOCS). But this hook is for the product editing plugin(WOOBE/BEAR)

 

Oh i thoght this support for it
i using BEAR bulk edit want to edit sale price and want to round up it

how to do that can you help me

please  try this  code
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);