• Jade

    (@aussiecomadmin)


    Hi Team,

    Why does the ‘Product price’ already have an amount even if we do not choose an option yet? – https://app.screencast.com/7ondGeuwwiacs I can’t see any options/settings to fix it. Is there a way to not show an amount when the product option is not selected yet?

    Please help us fix this. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jade

    (@aussiecomadmin)

    Also, when we select a product addon (e.g. Verification Certificate $132), the calculation is incorrect. –
    https://app.screencast.com/GvCiNmAibARrF

    Plugin Support Vanesa

    (@vanesarodriguez)

    Hello there!

    I hope you are doing well!

    I see the option adds the right price in the “total options” field. However, could you, please, share a link to the product so we can make some tests?

    Thanks in advance.

    Thread Starter Jade

    (@aussiecomadmin)

    Facundo A.

    (@aranofacundo)

    Hi there,

    To prevent the table from being displayed if no variation was chosen, you can try adding the following PHP code in the functions.php file of your current theme:

    if ( ! function_exists( 'yith_wapo_custom_hide_total_price_on_variable' ) ) {
    function yith_wapo_custom_hide_total_price_on_variable( $show_total_price_box, $product, $variation ) {
    if ( ! empty( $product ) && $product instanceof WC_Product && 'variable' === $product->get_type() && empty( $variation ) ) {
    $show_total_price_box = false;
    }
    return $show_total_price_box;
    }
    add_filter( 'yith_wapo_show_total_price_box', 'yith_wapo_custom_hide_total_price_on_variable', 99, 3 );
    }

    Let us know if this helped you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Product price issue’ is closed to new replies.