[Developer] Function to get Season from checkIn / checkOut Dates

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking [Developer] Function to get Season from checkIn / checkOut Dates

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #792340
    Julien Verhaeghe
    Participant

    Hello,

    I tried to implement some specific features.

    I want to force a service if a room is booked during specific seasons. I don’t think this is possible right now, so my idea was to force the click on this service and prevent the unchecking of it. But for this I need to detect to search season from CheckIn/CheckOut dates.

    I’ve seen in the code that the plugin is trying to calculate the rate for every season within the dates and show the min price for them. But I can’t get a snippet of code to search those seasons …

    Can you show me the path to what I want to achieve ? It don’t have to be a full code, just if you can explain me which class /function should i use.

    Thank you !

    • This topic was modified 5 years ago by Julien Verhaeghe.
    #801333
    J. Davis
    Keymaster

    Hi Julien,

    Thank you for your question however I’m not sure there is proper way to override this or whether there is such a possibility.

    best regards,
    J. Davis

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