
Quadrant2Design(@quadrant2design)
1 Post
Customers
Quote from Quadrant2Design on March 11, 2022, 13:40
im looking to increase prices by 1.4% using the bulk editor plug in.
using the calculator tool i  set first column to +, second column: 1.4, 3rd %, 4th 00, however when i click on the tick it changes the price from 5,538.00 to 5.00. when i do the same action with any other rounding value  like 99, it works correctly, adding 1.4% to 5538 and rounding giving a result of  5615.99 . As they are high value items we want pricing rounded to a whole number , but also showing the.00 as its how users are accustomed to seeing prices online.
please advise.
im looking to increase prices by 1.4% using the bulk editor plug in.
using the calculator tool i  set first column to +, second column: 1.4, 3rd %, 4th 00, however when i click on the tick it changes the price from 5,538.00 to 5.00. when i do the same action with any other rounding value  like 99, it works correctly, adding 1.4% to 5538 and rounding giving a result of  5615.99 . As they are high value items we want pricing rounded to a whole number , but also showing the.00 as its how users are accustomed to seeing prices online.
please advise.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on March 14, 2022, 11:56
Hello
Please  try  in  file - \wp-content\plugins\woocommerce-bulk-editor\classes\models\products.php - change  this  line - https://c2n.me/4fa7s6g.png
$value = round($value,0);
Hello
Please  try  in  file - \wp-content\plugins\woocommerce-bulk-editor\classes\models\products.php - change  this  line - https://c2n.me/4fa7s6g.png
$value = round($value,0);