sure, you could just use the woocommerce_variable_price_html filter hook
Would you still want it to say from $___ or some other verbiage?
Thread Starter
cdminc
(@cdminc)
Hi bheadrick,
Thank you for your help. I’d like to change “from” to “queen”.
Thread Starter
cdminc
(@cdminc)
Thread Starter
cdminc
(@cdminc)
Here is another link closer to what I am looking for. Now I just need to figure out how to select the “queen” size price variable. Any ideas?
http://wordpress.stackexchange.com/questions/102863/woocommerce-product-page-edit-from-text
Thread Starter
cdminc
(@cdminc)
If my product variation are Twin,Queen,King how would I display the “QUEEN” size using the code below:
add_filter(‘woocommerce_variable_price_html’, ‘custom_price_text’, 10, 2);
function custom_price_text( $price, $product ) {
$price = ”;
$price .= ‘<span class=”from”>’ . _x(‘A4 Sample’, ‘min_price’, ‘woocommerce’) . ‘ </span>’;
$price .= woocommerce_price($product->get_price());
return $price;