Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2017
    Location
    Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default 155e rounding issue after adding new product

    On my 1.55e webshop I have a GIFT product with a price of 25,00 euro (which is including 21% VAT)
    So I enter the Products Price (Gross) of 25.
    After saving the product, I go back into the product and now the price is 25.0001

    Currency EUR has decimals 2.

    In previous versions 1.38 I did not have this issue. It is giving me problems when customers try to redeem the gift certificate and enter 25.
    They can only redeem 24.99.

    Basically with this post I try to find a solution that when I enter a new product and enter the price including vat, that this price is NOT changing.
    I do not care if the price excluding vat is somewhat rounded.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: 155e rounding issue after adding new product

    With that particular entry of calculating the net price from the gross price, using four significant digits as is standard for ecommerce, the tax would have to be modified to be at least 20.99% or could be even entered as 20.9999% and in order to calculate back to the original 25 with rounding.

    Otherwise if the price storage and associated rounding was changed to maintaining five decimal places instead of just 4, the 21% with a final (gross) price of 25 would work.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 3
    Last Post: 19 May 2017, 10:28 PM
  2. Adding a New Product, Having an Issue when I proceed to Preview
    By Tripster in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 20 Jan 2011, 07:25 PM
  3. Blank page after adding new category and a product in it.
    By ljqueen in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Nov 2009, 10:23 PM
  4. Category missing after adding new product
    By akrep in forum General Questions
    Replies: 8
    Last Post: 18 May 2009, 03:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR