Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show activities that are not bookable (YET!) #146

Open
rayedgar opened this issue Apr 20, 2022 · 4 comments
Open

Show activities that are not bookable (YET!) #146

rayedgar opened this issue Apr 20, 2022 · 4 comments
Labels
Booking Activities For core Booking Activities plugin pending for votes Needs more votes to be validated or to increase priority

Comments

@rayedgar
Copy link

rayedgar commented Apr 20, 2022

Is there a way to show upcoming activities that will show on the calendar that are bookable in say 21 days? (hide/display option per activity in the booking form?)
If I set the availability now before the threshold of 'at the earliest' they activities are NOT displayed.

We do want to inform the users that the activity is coming up, but due to admin reasons we cannot let them book yet.

@yoancutillas
Copy link
Collaborator

No, the 'at the earliest' option cuts the events interval at the source: future events are not retrieved at all.

However, you can display a global calendar displaying all the events for advisory purposes only, and another booking form to book the events.

  • Go to Booking Activities > Booking forms > create new
  • Delete all fields except the "Calendar" field
  • Go to Calendar settings > Filters tab > select the desired calendars and activities
  • You can configure it to redirect the customer to the booking form page when he / she clicks the event in the Actions tab (docs)
  • Copy / paste the shortcode on the desired page

@yoancutillas yoancutillas added Booking Activities For core Booking Activities plugin support Support request, can't be reproduced on dev site labels Apr 21, 2022
@rayedgar
Copy link
Author

Thanks for your reply.. Im afraid that would not be workable and might be even more confusing to click an activity through another calendar where you cant book the activity (yet). Is there a custom way to override the 'at the earliest' option so that it would retrieve the activities and display them? but not be bookable. I see the logic here of course. But It would make the booking so more flexible. I think it would be a future request to be able to see upcoming events that are not bookable yet.

@yoancutillas yoancutillas added pending for votes Needs more votes to be validated or to increase priority and removed support Support request, can't be reproduced on dev site labels Apr 21, 2022
@yoancutillas
Copy link
Collaborator

Sure, you can do that with custom code.
If it can help, here is an example of custom code that prevent the booking if certain conditions are not met: #74, you can adapt this code with your own conditions.

I note your feature request, thank you!

@rayedgar
Copy link
Author

I will look into it. many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Booking Activities For core Booking Activities plugin pending for votes Needs more votes to be validated or to increase priority
Projects
None yet
Development

No branches or pull requests

2 participants