Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3350081
Display time until set action is initiated on front end
Closed

Comments

  • Nino started the conversation

    Hi WPC team,

    This plugin works great. I'm using it to automatically set specific products on my e-commerce site to 'hide' after a certain amount of time. 

    I'm reaching out as I'm wondering whether it was possible to show, on the front end, the time at which point the product is hidden? 

    This would allow customers to see how much time is left before the product is hidden, or another action is taken. 

    HEre is an example of a product that I currently have set to hide after 72 hours. What I'm after is for it to show this time limit on the page:

    https://mybullion.com.au/product/2010-1-oz-american-gold-eagle/

    Regards,

    Nino

  •  767
    Janilyn replied

    Hi Nino,

    Thanks for contacting us here.

    FYI, the WPC Product Timer is a backend solution, so there is no alert to be shown on the frontend. 

    For your case, you can kindly use our new free plugin WPC Smart Messages to insert a message with a countdown timer to let customers know when this product is not available/hidden. You can set up the same date/time for the message to appear for chosen products.

    You can watch below video to learn more about how you can do that: 

    Refer to this guide for backend message configurations: https://doc.wpclever.net/wpclever-all-wpc-plugins/wpc-smart-messages-for-woocommerce/

    Best regards.

    Janilyn T. - WPClever Support Agent

  • Nino replied

    Hey Janilyn, thank you for your reply.

    I'm excited as this does seem like a potential solution, however I am having trouble implementing it.  I would like to use the first example and start by opening the Smart Messages menu >> Add New:

    I then copy and paste the below text:

    1/ Countdown Built-in Shortcode:

    Location: General >> Before main content

    <p style="text-align: center;"><span style="font-weight: 400;"><i class="ion-flash"></i> Flash sale is on for <span style="color: #0000ff;"><strong>[wpcsm_human_time_diff to="MM/DD/YYYY HH:MM"]</strong></span>. Go to <strong><span style="color: #008000;"><a style="color: #008000;" href="Your-Link">Shop</a></span></strong>.</span></p>


    See attachment screenshot.

    Unfortunately all that does is add the same text to every product page, for example:

    https://mybullion.com.au/product/cayman-islands-marlin-1-oz-gold-coin/


    What am I doing incorrectly?

    Nino

    Attached files:  WPC Smart Msgs.jpg

  • Nino replied

    Hi again Janilyn, please disregard my below reply. I've figured it out!


    I needed to add that code to a HTML module, and now it is working perfectly. Thanks so much for pointing me in the right direction :-)

  •  767
    Janilyn replied

    Hi Nino,

    Thanks for your feedback. I'm glad I was able to help.

    If you are satisfied with our plugin, kindly give it a five star rating to let others know. Our new plugin has just been released and we are constantly improving it by adding more features. This will become the motivation for our developers.

    Thanks in advance and best regards.

    Janilyn T. - WPClever Support Agent