Loading...
 
Skip to main content

Shopping Cart does not handle decimal prices

Status
Open
Subject
Shopping Cart does not handle decimal prices
Version
12.x
Category
  • Error
Feature
Shopping cart and payment
Resolution status
New
Submitted by
Arild Berg
Lastmod by
Arild Berg
Rating
(1)
Related-to
Description

Using the Shopping Cart profile on a fresh 12.1 SVN installation.

The shopping cart fails to recognize decimals, e.g. $2.50, in the product price.

Using the minicart NaN values sometimes occur. This may be the same problem.


After some more investigation, this may be a bug in the tracker loader for numeric fields.

My local system (Windows 7) is configured to use , (comma) as the decimal separator. It seems like the data loaded through the unified search, to fill the product list, uses the local machine definition, i.e. 0.55 is loaded as 0,55
I have not been able to locate the source for this.


Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5190
Created
Saturday 19 April, 2014 19:01:38 UTC
by Arild Berg
LastModif
Saturday 19 April, 2014 20:21:43 UTC


Show PHP error messages