| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Changes Product Format - Decimal Places | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm trying to increase the allowed decimal places for displayed product prices to four.
Following the developer documentation, I have tried decorating AView and modifying the function formatPrice(). I have also tried decorating Math and modifying the $precision values. Both attempts have been unsuccessful, and did not effect the default business logic in any way. Code:
Do these classes need to be decorated in a different manner? Am I decorating the correct classes and/or functions for this problem? Any help or guidance is appreciated. |
|||||||
#2
|
|||||||
|
|||||||
![]() I think you will have to change the value of the column "e" in the table xc_currencies of your x-cart database for the currency you are using from 2 to 4.
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
|
|||
X-Cart forums © 2001-2020
|