• Resolved Tsvetan Tsakov

    (@filesubmit)


    Hello, how to change the price CSS or JS selector on the single product page?

    I need to change it to

    .product .elementor-widget-wd_single_product_price .price

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    Please, try to add this custom code in the functions.php of your active theme:

    add_filter( 'yith_wapo_replace_product_price_class', 'my_yith_wapo_replace_product_price_class' );
    function my_yith_wapo_replace_product_price_class() {
        return '.product .elementor-widget-wd_single_product_price .price';
    }

    Let us know if that did the trick.

    Have a nice day!

    Thread Starter Tsvetan Tsakov

    (@filesubmit)

    Thanks, it is working! Is it possible for sale products not to remove the original price, no it is showing only the sale price?

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    Unfortunately it’s not possible. At the moment, the price is calculated with the add-ons in a single price.

    Have a nice day!

    Thread Starter Tsvetan Tsakov

    (@filesubmit)

    Okay, no problem, it works great ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change the price CSS or JS selector on the single product page?’ is closed to new replies.