Support » Plugin: WooCommerce Bulk Discount » Round the price

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author renp

    (@rene-puchinger)

    Hi, if I look which lines should be modified, I will be then able to release a new version which will allow this behaviour to be set in options. Therefore I recommend to wait few days until I update the plugin.

    Plugin Author renp

    (@rene-puchinger)

    Now I’m wondering whether to add this feature or not due to loss issues as a consequence of rounding. If you really want to round the price after percentage discount, carefully add the round() operation to places where multiplying of price by something like $coeff occurs. For example, one such modification would be on line 159.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Round the price’ is closed to new replies.