Home › Forums › WooCommerce Personalized Product Options Manager (PPOM) › How to update product price on selected option ? › Reply To: How to update product price on selected option ?
October 3, 2018 at 7:49 am
#9583
nmedia
Keymaster
HI,
you can add following code into our theme’s functions.php file and it will remove price from label but will add in total:
add_filter('ppom_option_label', 'ppom_not_price_in_label', 99, 4);
function ppom_not_price_in_label( $label, $option, $meta, $product) {
$label = $option['option'];
return $label;
}