• Resolved rish30990

    (@rish30990)


    I have changed the position of price on single product page from top to bottom (Near cart button) By apply following in functions.php

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 25 );

    Through the above code Position of price have been changed in single product page But popup could not take any effect by the code.

    How I can change the position of price in popup as I did in sigle product page.

    https://www.ads-software.com/plugins/yith-woocommerce-quick-view/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi
    try to add in your functions.php this code

    remove_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_price', 15 );
    add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_price', 25 );

    let me know if it works.

    Thread Starter rish30990

    (@rish30990)

    I tried and it worked But now price was showing little below. Mean it was showing below “add to cart” button. I wanted to display price upon the add to cart button.

    So I just change second row value from 25 to 20. And its now in perfect position as i wanted. Thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change the position of price’ is closed to new replies.