CombinationProduct::canPurchase
Conditions for whether a product can be purchased.
If it has the checkbox for 'Allow this product to be purchased', as well as having a price, it can be purchased. Otherwise a user can't buy it. Other conditions may be added by decorating with the canPurcahse function
Signature
public function canPurchase([Member
$member = NULL,
[boolean
$checkPrice = true]] )
Parameters
Returns
- boolean