I wanted to display a total price for a grouped product instead of the native product range. I found the following code here from spinozarabel. Worked a treat. Champion! Note this goes in the functions.php file.
function max_grouped_price( $price_this_get_price_suffix, $instance, $child_prices ) {
return wc_price(array_sum($child_prices));
}
add_filter( 'woocommerce_grouped_price_html', 'max_grouped_price', 10, 3 );
However the problem I am having is that the tax status "(inc GST)" has stopped displaying on grouped products.
Is there a way to modify this code to fix this? Or to even have it print "(inc GST)" next to the price?