Hallo tt_products-Kenner,
ich habe tt_products 2.5.3 gekauft und installiert, und fast alles funktioniert einwandfrei.
Mein Problem ist ein Rundungsfehler der seit dem Update auftritt. Ich verwende folgendes:
constants:
...
discountprice {
10.type = count
10.field = price
10.additive = 0
10.sql.where =
10.prod.1 = 0.7
10.prod.6 = 0.58333333
10.prod.7 = 0.6
10.prod.8 = 0.6125
10.prod.9 = 0.6222222
10.prod.10 = 0.63
10.prod.11 = 0.63636
10.prod.12 = 0.525
10.prod.13 = 0.5384615
10.prod.14 = 0.55
10.prod.15 = 0.56
10.prod.16 = 0.56875
....
}
Bisher (2.5.0) hat es funktioniert, dass im Warenkorb bei 6 Stück 3,50 € errechnet wurden.
Jetzt erscheint 3,48 €. Er rechnet also 6 x 0,58 (ohne weitere Kommastellen). Wie kann ich das beheben?
vielen Dank für eure Hilfe
Puschel