Documentation

Price

Price class handles product prices.

Class methods

MethodDescription Available from version
clearRoundRulesCacheResets price rounding off rules for a specified price type.
getRoundRulesReturns list of rounding off rules for a specified price type.
handlerAfterUpdateCurrencyBaseRateHandler for the event onAfterUpdateCurrencyBaseRate to update the field PRICE_SCALE after currency rate update.
roundPriceExecutes price round off.
roundValueRounds off values according to a specified precision and round off type.
searchRoundRuleReturns round off rule for a specified price.
loadRoundRulesGets round off rules for several price types.


© «Bitrix24», 2001-2024