#150 new
Peter Hagens

Siteshop: decimals are gone in Cart::total()

Reported by Peter Hagens | September 3rd, 2009 @ 06:16 AM

When I use the setlocale(LC_ALL, $lang) in my siteshop files, it causes some errors. In the shopping Cart, the decimals are gone in the total value. This is due to the use of the function money_format() in the functions Cart::subtotal() and Cart::total(). Using setlocale(LC_TIME, $lang) instead is a workaround for this problem.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Tags

Pages