• Sami S

    (@sami-sanpakkila)


    Hi!

    For some reason the price is shown twice on my page. I have a variable product and I’ve set the variation prices each to the same price on woo commerce. On the plugin settings I’ve tried both “Hide the regular sale price” and “Show the regular sale price crossed out” which seem to make no difference to what the pre-order product price is showing on the product page.

    How can I just simply hide the pre-order price which is not necessary here?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @sami-sanpakkila

    add this code in the functions.php file of your theme:

    if ( class_exists( 'YITH_Pre_Order_Frontend' ) ) {
    ??? remove_filter( 'woocommerce_show_variation_price', array( YITH_Pre_Order_Frontend(), 'show_variation_price' ) );
    }
    Thread Starter Sami S

    (@sami-sanpakkila)

    Thanks, that worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Price is shown twice’ is closed to new replies.