Support » Plugin: WP Datepicker » Disable days

  • Resolved shovonboshak

    (@shovonboshak)


    Hello, We are selling Christmas-based product. So we want people can select date 2021 November 24 to Dec 25 then people will not able to book other any date this year or next years, months. Can you provide the custom function code for it? Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @shovonboshak custom functions are already available on settings page, have you tried those? Provided a few samples so you can modify according to your needs. If you are requesting a custom development, please wait for upcoming version or upgrade to the advanced version.

    Thread Starter shovonboshak

    (@shovonboshak)

    @fahadmahmood Those options are available the plugin it won’t work as our need. Anyway We already fixed it ourselves thanks.

    Thread Starter shovonboshak

    (@shovonboshak)

    @fahadmahmood Hello, I am using the code for allow pick date from nov 25 to dec 24 but here sunday is pickable. Do you have idea how can i disable sunday?

    function (date) { var month = date.getMonth()+1; var year = date.getFullYear(); var dated = date.getDate(); return [( ((month==11 && dated >= 25)) || ((month == 12 && dated <= 24 )))]; }

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @shovonboshak but you mentioned earlier that you have already fixed it by yourselves. New feature request has been noted already, kindly don’t open this ticket as bug or issue. Please wait for the upcoming version.

    Thread Starter shovonboshak

    (@shovonboshak)

    @fahadmahmood Yes I did, It worked then I notice weekend days didn’t disable. It seems like you are not interested to help this forum. Because I didn’t ask big help from you. I shared with you the custom code I used. You just need to provide a new code that will disable Sunday to the date range. If you are not interested to help this forum then I think you should remove the plugin from wp store. Because when you add a free plugin to the store you should provide support also. I am working in this sector last 6 years and took a lot of help from other plugin support. But they didn’t respond like you.

    Plugin Support acrobaticsjs

    (@acrobaticsjs)

    @shovonboshak We have added the functionality to disable days from November 24 to Dec 25 in the previous version (1.9.8) as you mentioned and last night we also released a new version which includes the Disable Sunday feature. You can see your name in changelog. You may not have checked but we have added this feature as you posted here and released the version overnight (1.9.9).

    If you read the changelog, you will know how many features were added to this plugin upon users request. If that was not the case then you could say about plugin removal. And what you are insisting on is not an issue or a bug but a custom development and custom development is not considered support.
    When did we refuse to include your feature? When people report bugs or issues on this forum, sometimes it takes weeks or months to resolve them. It’s not a forum rule to work on this as soon as you order. This was a new feature, not a bug or an issue. How can we release a new feature without testing?

    We have released a version last night that includes the Disable Sunday feature and today you are again opening the ticket. It shows that you are not using our plugin but you are extracting some scripts from it for your personal work. For this kind of help, you can use Stack Overflow. Do not mislead wordpress.org support forums. If you were using the plugin, you would know in the changelog / update log which feature was included in it and you would also see your name.

    We always give respect to the suggestions, new features and specially the people who report the issues. But unfortunately, the way you are pushing us is something like you are trying to exploit support forums for your personal interests.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.