// 变体商品显示最低价
function wpx_wooCommerce_show_only_lowest_prices_in_variable_products( $price, $product ) {
$price = '';
return $price .= wc_price($product->get_price());
}
add_filter('woocommerce_variable_price_html', 'wpx_wooCommerce_show_only_lowest_prices_in_variable_products', 10, 2);