How can we bring the countdown timer – single product page

This topic has 4 replies, 2 voices, and was last updated 1 years, 1 months ago ago by Rose Tyler

  • Avatar: Zezva
    Zezva
    Participant
    November 5, 2023 at 12:05

    How can we bring the countdown timer to down the price?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 5, 2023 at 14:32

    Hello, Zezva,

    Thank you for contacting us and for using XStore.

    What is the URL of the product from your screenshot?

    Kind Regards,
    8theme team

    Avatar: Zezva
    Zezva
    Participant
    November 5, 2023 at 16:43
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 6, 2023 at 09:41

    Hello, Zezva,

    1/ We added next code to your child-theme/functions.php

    add_action('init', function() {
    remove_action( ‘etheme_woocommerce_template_single_add_to_cart', 'etheme_product_countdown', 5 );
    add_action( 'etheme_woocommerce_template_single_price', 'etheme_product_countdown', 15 );
    }, 50);

    2/ Result is next → https://prnt.sc/quMgOsHAegx-

    Don’t forget to clear cache to see changes !

    Kind Regards,
    8theme team

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

You must be logged in to reply to this topic.Log in/Sign up

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