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

Okay
  Public Ticket #2659825
Product basis timer - Set purchasable according to Daily time range not working
Closed

Comments

  • Jazzy started the conversation

    I've set the Simple product to be purchasable on daily time range but the add to cart button still show up out of this time range.

  •  767
    Janilyn replied

    Hi Jazzy,

    Thanks for contacting us here.

    May I ask which version of our plugin are you using? If it is the free version, this action might not be achievable since the daily time range conditional always require at least 2 actions.

    Here are some points for your reference:

    - You should add only 1 date & time conditional per action: In your image, you have added 2 time ranges, that's why it's not working. You should separate it into 2 actions, each action 1 date & 2 time. The "daily" means every day - the "date" part & time range - it's enough for one action.

    - With the daily time range, there 2 ways of setting timers. You can read more in this doc: https://doc.wpclever.net/woopt/important-the-logic-of-setting-timers/.

    - With your input, I will guide you to set up the correct timers:

    Method 1: https://www.screencast.com/t/q0dnIpxuqJUk

    • Action 1: Set unpurchasable, Everyday.
    • Action 2: Set purchasable, Daily time range: 12:30 am - 20:00pm
    • Action 3: Set purchasable, Daily time range: 06:00 pm - 09:00 pm

    Method 2: https://www.screencast.com/t/Xh9DtarHaXmU

    You can set your product to unpurchasable outside the two chosen time range, then it will be purchasable during the chosen time.

    Best regards.

    Janilyn T. - WPClever Support Agent

  • Jazzy replied

    Hi, I've tried Method 1 with premium plugin, it works but quite troublesome. Especially the time range only draggable, can I just directly type in the time I want? I have to click outside the time range box and click back the time input, only then the draggable bar show up. It is taking so many steps.


  •  767
    Janilyn replied

    Hi Jazzy,

    I used to mention this issue with our developers since it's quite troublesome, however, our developers said it was a technical issue since only using this kind of selector worked for our plugin. I'm not a technical support so I can't explain to you in detail, and yes, that is the only way, unfortunatelybigsmile.png.

    I am trying to work with our developers about a way to copy the timer settings and paste into another product as well. Hopefully, it will be implemented soon, it will save users more time.

    Best regards.

    Janilyn T. - WPClever Support Agent

  • Jazzy replied

    Thanks. Hope it can be more user friendly.