Passing Values to Pinpoint Calendar
-
I am setting up a booking system which requires a user to buy a voucher through Woocommerce. The user can then enter their order number into a form and, if it exists in the database and the order is marked as complete they get access to a Pinpoint booking calendar which is inserted into the html using a shortcode.
What I want to know is, is it possible to pass custom values to the booking calendar so that when the booking is made, the value is included in the booking? For instance, if someone has bought 4 voucher in their order I want to pass the value ‘4’ to Pinpoint so that it uses up 4 booking places once the user has selected their day and time.
What I want to avoid them doing is having to select the number of bookings with a dropdown menu when they have already selected the number of bookings in their order.
I know you can hook Pinpoint up to Woocommerce so that you book a slot when you buy a product, but due to the odd workflow the client wants, the two steps need to be separate.
Any help would be appreciated!
Thanks!
- The topic ‘Passing Values to Pinpoint Calendar’ is closed to new replies.