Frontend | Backend | Api

Products\Models\Frontend\ProductPricing

ProductPricing

Method Description Returns
getId() int
getBasePrice() Base price of the product. The fallback price: if there is no other price or any other price cannot be applied, this base price is used. It could be `0.00` and the item with such price could be added to the cart. string
getSpecialPrice() Special price of hte product. When it is `0.00`, it is ignored during adding to the cart, the *base price* is used instead. string
getRrp() string
getCostPrice() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getCurrency() Currency
getProduct() BaseProduct
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool