SilverCart\Model\Product\Product::getPrice
Getter for product price May be decorated by the module silvercart_graduatedprices
Signature
public function getPrice([string
$priceType = '',
[boolean
$ignoreTaxExemption = false]] )
Parameters
$priceType
— string- Set to 'gross' or 'net' to get the desired prices.
If not given the price type will be automatically determined. $ignoreTaxExemption
— boolean- Determines whether to ignore tax exemption or not.
Returns
- DBMoney