How to disable certain product on certain date?

  • hyphenkk3
    Asked on November 7, 2024 at 1:27 AM

    can I know how to make a setting so that on certain date, certain product can be made unavailable?


    thank you

  • Arghya JotForm Support
    Replied on November 7, 2024 at 4:02 AM

    Hi hyphenkk3,

    Thanks for reaching out to Jotform Support. Can you tell us, if you want to disable the products on the product list? If yes, unfortunately, it's not possible to disable the products on a specific date in the product list using conditional logic. But you can disable them manually. Let me show you how:

    1. In Form Builder, go to Product List element.
    2. Click on Shopping Cart icon beside the element and click on Gear icon in products by hovering over it.
    3. Click on Disable option to disable the product.

    How to disable certain product on certain date? Image 1 Screenshot 20

    If that’s not exactly what you’re looking for, can you explain a bit more, so I can help you better? Also, can you send me the link to your form, so I can take a look at it for you?

    Let us know if you have any other questions.

  • hyphenkk3
    Replied on November 20, 2024 at 3:23 AM

    this is actually not working for me as we have a list that shows what cakes we have on the product list.
    however, on certain dates, for example Christmas Day, we only taking preorders for 2 flavors of cake, but I cannot disable the cake on the list as it will made other dates not available too.

    any suggestion to solve this please?

    thank you

  • Gian JotForm Support
    Replied on November 20, 2024 at 8:04 AM

    Hi hyphenkk3,

    I understand that you don't want certain cakes to be pre-ordered for specific dates. I'm currently working on a solution and I will get back to you for an update.

    Let us know if there's anything else we can help.

  • Gian JotForm Support
    Replied on November 20, 2024 at 8:59 AM

    Hi hyphenkk3,

    Thanks for waiting. If you need to prevent users from pre-ordering certain items on certain dates, you can display an error message on your form and hide the Submit button based on the date that they select on your Appointment field and based on the item that they select on your product list. We can use Show/Hide Conditions to achieve this. First, you need to add the message, we can use the Paragraph element, take a look at the screenshot for an example:

    How to disable certain product on certain date? Image 1 Screenshot 40

    I can see that you already have several Show/Hide conditions on your form. As an example of my suggestion, you can use this condition if you want to prevent the users to order the Pandan Jade cake on December 25th:

    How to disable certain product on certain date? Image 2 Screenshot 51

    Here's a demo:

    How to disable certain product on certain date? Image 3 Screenshot 62

    You can repeat the same condition for all the cakes and the other Appointment fields on your form.

    Give it a try and let us know if you need any help.

  • hyphenkk3
    Replied on November 20, 2024 at 7:10 PM

    will have a try! thank you!

  • hyphenkk3
    Replied on May 27, 2025 at 8:55 PM

    hello. are there any easier ways to accomplish the same thing?

    as our products have gotten much more and we have settings for pickup on "standard", "others" as well as "delivery". so there's 3 settings that need to be done on every single item we have.

  • Gian JotForm Support
    Replied on May 27, 2025 at 9:12 PM

    Hi hyphenkk3,

    Currently, the workaround I've provided is the best option to achieve your described goal.

    Let us know if there’s anything else we can help you with.