Include child prices in grouped_price_html filter
This commit is contained in:
parent
ce8e94b5ff
commit
2c42a81089
|
@ -155,7 +155,7 @@ class WC_Product_Grouped extends WC_Product {
|
|||
if ( $is_free ) {
|
||||
$price = apply_filters( 'woocommerce_grouped_free_price_html', __( 'Free!', 'woocommerce' ), $this );
|
||||
} else {
|
||||
$price = apply_filters( 'woocommerce_grouped_price_html', $price . $this->get_price_suffix(), $this );
|
||||
$price = apply_filters( 'woocommerce_grouped_price_html', $price . $this->get_price_suffix(), $this, $child_prices );
|
||||
}
|
||||
} else {
|
||||
$price = apply_filters( 'woocommerce_grouped_empty_price_html', '', $this );
|
||||
|
|
Loading…
Reference in New Issue