Added ProductPrice model, implements same features as the ProductPriceFinder
Templates are updated completely, no need for fake variant fields
Added IsotopePrice interface
Product object now stores it's price object
CS
Deleted formatted-price getters
Replaced show_price_tiers getter with canSeePriceTiers method
Store product in price relation so we don't need to retrieve it
Product price now always has a price tier
Lowest price tier is the minimum product quantity
Product price can now calculate an amount including tier settings
Added SQL relation for tl_iso_prices.pid
Added method to check if a price has tiers
Fixed missing class in namespace issue
min() can only be used if there are values in an array
Objects are always passed by reference
Tax class must be numeric or getRelated() triggers an error
Fixed advanced prices query
Get original price from price model
Deleted findPrice() method, should use price model from getPrice()