• andifon

    (@andifon)


    Hi everyone!
    I have a webshop where I display net prices. One of my products costs 2,071 HUF (no decimal places, as we only use whole numbers for Hungarian forints). If I purchase this product, the total amount is, of course, 2,071 again. The net price is the same in my business management system, and everything works as expected.

    However, when I apply a 35% discount, the price becomes 1,346.15 HUF. In reality, I expect it to be 1,346 HUF, but the plugin uses two decimal places. This causes a 1 HUF difference in the gross amounts every time. Since this is a large B2B webshop, these discrepancies add up significantly.

    How can I ensure that there are no decimal places and that the plugin follows the WooCommerce settings?

    Thank you in advance for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Elena

    (@elenathemehigh)

    Our plugin follows WooCommerce settings, and normally, this issue will not occur. You can set the number of decimals as zero by navigating to WooCommerce >> Settings >>General>>Number of decimals as shown in the attached screenshot.

    https://prnt.sc/NY-cqJCPZYmw

    So your issue needs a detailed check. Could you please raise a ticket through our website? We hope our technical team will be able to help.

    Thank you!

    Thread Starter andifon

    (@andifon)

    Thank you for your response. I may not have been entirely clear, but the webshop is already set to 0 decimal places, just as you suggested. The Hungarian forint does not use decimal places at all, which is why this behavior is strange. The issue only occurs when a discount is applied using your plugin.

    Elena

    (@elenathemehigh)

    Thank you for the update! It seems to be a site specific issue. So, could you please raise a ticket through our website? We hope our technical team will be able to help.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.