PRICE in single product - by GEMA - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 3 years, 1 month ago ago by Olga Barlow

  • Avatar: rrmibiza
    GEMA
    Participant
    February 22, 2021 at 15:42

    Hello, I would like to change the single product price.

    Now:

    1º – “woocommerce-Price-amount amount
    2º – woocommerce-product-details__short-description

    and i want

    1º – woocommerce-product-details__short-description
    2º – “woocommerce-Price-amount amount

    3 Answers
    Avatar: Muhammad Zaki
    Muhammad Zaki
    Support staff
    February 22, 2021 at 20:45

    Hello!

    Thanks for getting in touch with us. My name is Muhammad.

    You can achieve the desired requirement with the help of the Xstore single product page builder. You can use it from theme options>>woocommerce (shop)>>single product page builder

    Please let me know if you see any issue or need any assistance, we would love to help you.

    Thank you!

    Avatar: rrmibiza
    GEMA
    Participant
    February 23, 2021 at 10:58

    Sorry but i used Royal Theme, not XStore

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 24, 2021 at 08:36

    Hello,

    You can use WooCommerce hook to change the order.
    You just need to add this little code snippet to the function.php file of your active child theme

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

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘PRICE in single product’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.