yf_shop__product_get_price user module| File | plugins/shop/modules/shop/yf_shop__product_get_price.class.php |
|---|---|
| Use | module('shop__product_get_price'), URL ?object=shop__product_get_price |
| Property | Default | Description |
|---|---|---|
| None declared in this class. | ||
None without a leading underscore.
_ hooks and helpers; not routable as page actionspublic function _product_get_price($product_info = [])
public function _product_get_price($product_info = [])
{
return $product_info['_group_price'] ? $product_info['_group_price'] : $product_info['price'];
}