to Avoid Booking feature - quick solution

More
3 years 7 months ago - 2 years 9 months ago #17316 by joomleb
Hi guys,
updating this topic on Solidres 2.12.0
Right now, we can set per Property / per Experience to avoid the Booking feature and by default is set to "No":

Property > Publishing tab > Disable online booking: No
- Show rate plans: No
- Show inquiry form: No

Experience > Publishing tab > Disable online booking: No
- Show price: No
- Show inquiry form: No

To have back a complete full Booking feature managing just few small steps are missing to permanently resolve the issue for the needs of all users:

From Customer point of view

1 - by adding the .disabled{pointer-events: none;} class to the Booking buttons:
- Property > Select - #sr-reservation-form-room button.trigger_checkinoutform
- Experience > Book Now - #sr-experience button.submit
following the "Options > General > Customer user group" setting OR by adding a new Option field selection like "Force Booking for that UserGroup". So, for example, if:
- "Options > General > Customer user group: Registered"
- "Force Booking for that UserGroup: Yes"
all the guests, the not logged Users, will not be able to click and book (but they will be able to see that the Property/Experience is bookable).
This is really a simple solution by adding the Bootstrap standard .disable class to the buttons...

From Partner point of view

2 - In first of all to move / to add the Online Booking feature settings to a Category Level. So,
- Solution A, the best - to have the Online Booking settings feature per Category, where the Property / Experience will inherit those settings depending on the selected Category.
- Solution B, alternative - to have a "Category > Online Booking: No / (Yes)" setting
- Solution C, third alternative - OR an "Options > enable Booking for categories IDs" setting as mentioned here
PS - Anyway, by default the “Online Booking” should always be disabled because, at least, as Super Users we can always find a simple solution to hide fields on Frontend Partner Dashboard, but not "to add" fields

3 - to split the "Booking feature" from the "Mange Property" / "Manage Experience" ACL Permissions, where the "Booking feature" just simply show the "Online booking" and their related fields setting.
In this way to hide the "Disable online booking" frontend field would be really simple and, In this way, we could set different Partners/Staff levels depending on joomla usergroup, giving them different Solidres ACL Permissions
Last edit: 2 years 9 months ago by joomleb.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #17318 by RevPar
Replied by RevPar on topic to Avoid Booking feature - quick solution
+1

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago - 2 years 9 months ago #18218 by joomleb
Replied by joomleb on topic to Avoid Booking feature - quick solution
Hi guys,

2 - All the Property / Experience "Disable online booking" settings should be, in first of all, a per Category Options. Remembering that to have the "Disable online booking" setting to Yes by default, would give to us a way to always use CSS to hide the "Disable online booking" setting fields for the subscription users (Partners) not allowed to manage them...

2B - Now, into the "Disable online booking" settings list (here attached the Experience example image), the first option step should always be the simple one: leave all as it is and just to add a .disabled CSS class to the .action booking button where to apply:
.disabled{
pointer-events: none;
}
Attachments:
Last edit: 2 years 9 months ago by joomleb.

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?