Conversation
supportI am facing an issue on my hotel booking website built with the WP Hotel Booking plugin. Here’s the problem: I have one Flat and multiple Rooms linked to it. Example: Flat 100 (Post ID: 1907) Room 101 (1909) Room 102 (1904) Room 103 (2081) I need the following logic to work automatically: When Flat 100 is booked on a date → all its linked rooms (101, 102, 103) should be automatically blocked/unavailable for that same date range. When any linked room (101, 102, 103) is booked → Flat 100 should also be blocked/unavailable for that same date range. This should reflect in the Hotel Search Result page immediately (example: https://u3322181.ct.sendgrid.net/ls/click?upn=u001.fOQZkSVVsJmtmjDpfa2B-2FuWM8qSpJRqxiFWn9FCvDAlhGuRCwH29PKgET5xntjIrtacTcubvIA-2FnwoDuNtp2aw-3D-3DOUwR_wmc-2BViHeaSAOdjPZKiSJ-2FQJOIT-2FmJyOwXYwlTJBkSwZ0QEwdaJgh3tHtg7-2FwIUK1x08LzdJ4GivQepR14f-2FNZFh-2FzuNeL9veP3HedFwr5HTn5p0sAMp7B3NRN-2BYRgNTKRAtNkF6ofcKQZG4Va9VAK50HHz-2FysmQuFsbqw3TSyG5Sy73MGLMSBxPd-2FBB-2BdQWs0TyMlEu-2FmZKG-2BOKJP61JfA-3D-3D ). Currently, even if the flat is booked, the linked rooms are still showing as available — so the blocking logic isn’t working. Please check and provide a fix or working code that hides the linked rooms/flats properly when booked for overlapping dates. Thanks & Regards, Arun The page I need help with: [ log in to see the link]
Hi Arun, Thank you for reaching out. To ensure we provide the most accurate solution, please confirm our understanding of the hierarchical relationship and the desired blocking logic: It sounds like you have a “Parent-Child” relationship: Flat (Post ID: 1907) is the “Parent Unit” (the overall apartment or suite). Room Deluxe Room, Single Bed Room-1, Single Bed Room-2 (Post IDs: 1909, 1904, 2081) are the “Child Units” (individual rooms within the Flat). And the required Blocking Logic is: Booking the Parent: When Flat is booked, ALL linked Child Rooms (Room Deluxe Room, Single Bed Room-1, Single Bed Room-2) must be blocked/unavailable. Booking a Child: When ANY linked Child Room (Room Deluxe Room, Single Bed Room-1, Single Bed Room-2) is booked, the Parent Unit ( Flat ) must also be blocked/unavailable. Is this understanding of the Parent-Child relationship and the mutual blocking logic correct? Once you confirm, we can proceed with checking the WP Hotel Booking plugin’s capabilities. We look forward to your confirmation! Best regards, Brianvu-tp
confirm. This logic is correct. Please check it in the plugin and let me know if there’s a solution available.
Hi Arun, Thank you for confirming the exact logic! We appreciate your patience while we investigated this requirement within the WP Hotel Booking plugin’s current capabilities. We have determined that the mutual, two-way blocking logic you require not a built-in feature of the standard WP Hotel Booking plugin. Implementing this hierarchical, synchronous availability check requires custom development to integrate with the plugin’s booking and search queries. Since this requires a code customization solution, we recommend reaching out to our dedicated customization team: Please search for “ThimPress Customization Services” or “ThimPress customization” . Our customization experts will discuss the specifics of your site, the necessary custom code to ensure that the correct units are blocked automatically across your search and booking pages. Thank you again for your patience and detailed explanation! Best regards, Brianvu-tp
Hi Arun, Thank you for reaching out. To ensure we provide the most accurate solution, please confirm our understanding of the hierarchical relationship and the desired blocking logic: It sounds like you have a “Parent-Child” relationship: Flat (Post ID: 1907) is the “Parent Unit” (the overall apartment or suite). Room Deluxe Room, Single Bed Room-1, Single Bed Room-2 (Post IDs: 1909, 1904, 2081) are the “Child Units” (individual rooms within the Flat). And the required Blocking Logic is: Booking the Parent: When Flat is booked, ALL linked Child Rooms (Room Deluxe Room, Single Bed Room-1, Single Bed Room-2) must be blocked/unavailable. Booking a Child: When ANY linked Child Room (Room Deluxe Room, Single Bed Room-1, Single Bed Room-2) is booked, the Parent Unit ( Flat ) must also be blocked/unavailable. Is this understanding of the Parent-Child relationship and the mutual blocking logic correct? Once you confirm, we can proceed with checking the WP Hotel Booking plugin’s capabilities. We look forward to your confirmation! Best regards, Brianvu-tp
confirm. This logic is correct. Please check it in the plugin and let me know if there’s a solution available.
Hi Arun, Thank you for confirming the exact logic! We appreciate your patience while we investigated this requirement within the WP Hotel Booking plugin’s current capabilities. We have determined that the mutual, two-way blocking logic you require not a built-in feature of the standard WP Hotel Booking plugin. Implementing this hierarchical, synchronous availability check requires custom development to integrate with the plugin’s booking and search queries. Since this requires a code customization solution, we recommend reaching out to our dedicated customization team: Please search for “ThimPress Customization Services” or “ThimPress customization” . Our customization experts will discuss the specifics of your site, the necessary custom code to ensure that the correct units are blocked automatically across your search and booking pages. Thank you again for your patience and detailed explanation! Best regards, Brianvu-tp