Breaking: #287 - Price columns as fixed-point numbers
See Pull Request 287
Description
The price columns in the database changed from double to
decimal to store prices without rounding errors and with more
than two decimal places:
tx_:cartproducts_ domain_ model_ product_ product price,price_,measure base_,price_ measure service_,attribute1 service_,attribute2 service_attribute3 tx_:cartproducts_ domain_ model_ product_ specialprice pricetx_:cartproducts_ domain_ model_ product_ quantitydiscount pricetx_:cartproducts_ domain_ model_ product_ bevariant price,price_measure
Affected Installations
All installations updating from cart_products 7.x.
Own queries or extensions which read these columns directly get the values as numeric strings instead of floats from the database.
Migration
Update the database schema, e.g. with the database analyzer in the install
tool or with vendor/. The existing prices are
kept.
Cast the values of these columns in own queries, e.g. with (float).