우커머스 variable product 최소 금액 표시하기

우커머스 variable product 최소 금액 표시하기

/**
 * Only display minimum price for WooCommerce variable products
 **/
add_filter('woocommerce_variable_price_html', 'custom_variation_price', 10, 2);

function custom_variation_price( $price, $product ) {

     $price = '';


     $price .= woocommerce_price($product->get_price());

     return $price;
}
Tags:
No Comments

Sorry, the comment form is closed at this time.