• Resolved fragile2005

    (@fragile2005)


    How do i hide the price shown after a checkbox is clicked. I want the price to be added to the total fee but not shown when clicked in cases whereby i need to use %.
    Something like this shows: “Testing (+46%)”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fragile2005

    (@fragile2005)

    Also i want to hide 0.00 when price is not added too. but most importantly, i want hide the price when the options are clicked. let the total price just change.

    I also saw this link here which took me to https://clients.najeebmedia.com/forums/topic/how-to-hide-prices-for-options/. but after inputing code in function file, the price still did not hide

    Thank you.

    Hi,

    This link does the job, it will hide the price from label of options just show the option/title. Make sure you have latest version installed you pasted following code to your theme’s functions.php

    add_filter('ppom_option_label', 'ppom_change_option_label', 99, 4);
    function ppom_change_option_label($label, $option, $meta, $product) {
       $label = $option['option'];
       return $label;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide price or % shown when checkbox is clicked’ is closed to new replies.