bookingactivities / booking-activities

Wordpress plugin booking system
GNU General Public License v3.0
27 stars 8 forks source link

Trim empty days toggles off when click ok on the dialog box #165

Closed yabdali closed 1 year ago

yabdali commented 1 year ago

Hi, When trying to enable Trim empty days option, it gets toggled off when I click ok on the dialog box! Is this normal, not sure whats happening. Video screenshot https://imgur.com/a/wHBO4RZ Booking forms ‹ Capitano Oman — WordPress - Google Chrome 2022-10-07 01-11-44

yoancutillas commented 1 year ago

Hello, the problem is that the settings are not saved, this is probably due to a conflict with a third party plugin / theme. Can you follow the instructions below "Booking Activities doesn’t work as it should" here: https://booking-activities.fr/en/documentation/faq/ ?

yabdali commented 1 year ago

Thanks for your suggestion, I tried disabling some of the plugins that I suspected they may cause this issue but still keep seeing the same issue. I had to change it via DB update to the object (form field). Would it be possible to set this value as the default value since it makes sense to show the next available activity by default?

yoancutillas commented 1 year ago

It's already active by default: https://github.com/bookingactivities/booking-activities/blob/1.15.4/functions/functions-booking-system.php#L341

No problem, don't hesitate to resume the debugging instructions if you need more help.