Show price on variable product WooCommerce single page:

Hello, can you please tell me how to display the price for variable products in WooCommerce. Here is an example:
https://pinpointstore.wpengine.com/livenation/product/10-oz-soft-sided-vip-clear-plastic-cup/

The one without the variable shows fine uinder the title:

Thanks much!

Hi @PinpointPromos,

Thanks for writing in! When setting variable products, you will need to set regular prices so that it displays the price. To properly set up your variable product, please check out this documentation:

Hope this helps. Kindly let us know.

I ended up having it all in place as documented above. I added this to the child theme to display it on variable products:

function ssp_always_show_variation_prices($show, $parent, $variation) {
return true;
}
add_filter( ‘woocommerce_show_variation_price’, ‘ssp_always_show_variation_prices’, 99, 3);

Hi @PinpointPromos,

I see, and yes, the only way to do it is following and using the filters provided by Woocommerce.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.