I created the fields with the ACF plugin. I want to show the fields in the FORM of SEARCH RESULTS using php or with a shortcode like this:
[acf field = "booking_field"]
Is this possible? How I can display these custom fields in Search Results?
Hello.
Booking Calendar support only standard/default "custom" posts fields of WordPress for definition additional parameters to pages with booking forms for showing them in search results.
Unfortunately plugin does not support some third party plugins custom fields for showing in search results.
Please use the dtandard WordPress custom fields in the pages with booking forms.
Kind regards.
If I use this code which indicates the codex wordpress
or
ID, 'booking_field', true); ?>
It does not work.
What is the way to display standard custom fields from wordpres in Search Results?
Hello.
You can not use the some values from the custom fields to show in search resutls. These values only for the parameters to filter the search results, using the search form.
But you can write the info (about the custom fields) or some other data in the "Post Excerpt" section of the post. This section is showing as description in the search results.
Kind Regards.
Thanks for all!!!
Getting error message below at the bottom of every page of my site and in WP dashboard.
Warning: Missing argument 2 for wpdb::prepare(), called in /home/torresei/public_html/belvedereassociation/wp-content/plugins/booking.personal.4.0.1/lib/wpdev-booking-functions.php on line 19 and defined in /home/torresei/public_html/belvedereassociation/wp-includes/wp-db.php on line 1210
Hi,
I'm using Business Large Developer to create a booking form with time slots. How it would work is a person comes along and selects a start time and then the duration of the slot, which work fine. What I'm having problems is when someone books 9-10.30 slot and the 11 - 12.30 slot, the 10.30 slot can be selected for a duration when there's no space for it. If this makes sense.
Hello.
Visitor can select this start time but can not make the booking. System will show warning that the selected times already booked.
If you want that visitor can not select the times at all for such situations, then you need to use the timerange (timeslots) shortcodes.
Kind regards.
Hello,
how can I sort the resources on Calendar booking view?
Thank you.
Hello.
You can sort booking resources by setting higher or lower priority at the Booking > Resources page.
Thank you
Hello,
is it possible to disable option by default "Send email notification to customer about this operation" when you are modifying a reservation?
Thank you.
Hello.
You will be need to make this fix.
Please open this file ../{Booking Calendar Folder}/lib/wpdev-booking-class.php
then find this code:
<input name="is_send_email_for_new_booking" id="is_send_email_for_new_booking" type="checkbox"
checked="CHECKED"
value="On"
/>
<?php _e('Send email notification to customer about this operation', 'wpdev-booking');?>
and replace it to this code:
<input name="is_send_email_for_new_booking" id="is_send_email_for_new_booking" type="checkbox"
<?php if (! isset($_GET['booking_hash'])) { ?>
checked="CHECKED"
<?php } ?>
value="On"
/>
<?php _e('Send email notification to customer about this operation', 'wpdev-booking');?>
Kind Regards.
It works, thank you.
Hello,
I have several resources in different forms. After fill all fields and press send button, the next step is going to gateway payment page. However, I have one resource of them that I don't want to go to this page, I want only receive an email to with filled details. Is it possible?
Thank you.
Hello.
If you need that for one specific booking resource, payment form is not showing, then you need to be sure that the cost of the booking(s) for this booking resource = 0. In this case payment form will not show for this booking resource.
Its does not possible to deactivate payment forms for specific booking resources in other ways. Only deactivate payment forms for all booking resources.
Kind Regards.
It is good for me. Thank you!
Hello,
I have an issue calculating the cost. I see the faq that tells % without(+) sum the % to total cost, not to original. But it is not working right in my case. I have costs on my resource as you can see below:
The original cost is 4. If I choose 2:00h, the cost is 10. It is Ok. But if I choose 3 too, the system shows me a total cost of 18, but it should be 30. Am I doing anything wrong?
Thank you.
Hello.
In your case system calculate additional cost in this way = 4*300% + 6 = 18
You need to activate this checkbox "Check this box if you want that specific additional cost, which configured as percentage for some option, apply to other additional fixed costs and not only to original booking cost. " at bottom of Booking > Resources > Advanced cost page.
Kind Regards.
I am sorry, but I've I apply this checkbox other forms are not calculating correct the cost. You recommend me days before to deactivate it, because in my forms shows the cost 0 when I have enabled this option.
Then, I don't understand this:
"For example, if the original cost of the booking is $80, then after applying additional costs the total cost will be folowing:
Enter fixed cost:55, then total cost will be $80 + $55 = $135
Enter percentage of the entire booking:200%, then total cost will be $80 * 200% = $160
Enter percentage as additional sum, which is based only on original cost and not full sum:+75%, then total cost will be 80 + 80 * 75% = $140"
thank you.
Hello.
Based on your previous example.
If the original cost of the booking = 4
and fixed additional cost (of the "02:00") = 6
and you set for the visitor (3 = 300%), then
1) if the "bottom checkbox" is not "checked" the total sum is calculated like this:
4 * 300% + 6 = 18
2) if the "bottom checkbox" is "checked" the total sum is calculated like this:
4 * 300% + 6 * 300% = 30
3) And if you set for the visitors "+300%" instead of "300%", then we have this
4 + 4 * 300% + 6 = 22
Please note, here "base" (original cost of booking) is 4, thats why we have base 4, then we apply 300% to the base and sum them, and then add fixed cost.
In this example, cost do not depend from the bottom, checkbox. Because its about the percentage apply (like this 300% ) to only original cost or to the fixed additional cost and to the original cost.
Kind Regards.
Hello,
I have purchased the small business plugin and have it all set up and running with all the form fields I need except for one. I have a couple different resource items (that are all different prices) that I want to be able to choose from when filling out the booking form. How can I add these items that I have in my resources section to the booking page?
I've got the booking calendar large business . When trying to add a new resource, this message appears
Error during adding new booking resource into DB
[F:/personal.php|L:1300|V:9.Business.Large.SingleSite.5.4.2|DB:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 1 , 0 , standard) at line 1]
Hello.
It's seems like your installation was not complete.
I can suggest that you make FULL reinstall of plugin (its mean that booking data will be erased). For this please open the general booking settings page and make checked the "Delete booking data during deactivation of plugin" at the right side.
then open the WordPress plugins menu and click on "Deactivate" link. Wait for the message that plugin is deactivated successfully. After this Click on "Activate" link of Booking Calendar plugin and wait for the message that plugin is activated successfully. After this test it again.
Kind regards.
in my reservation calendat, the email sending cfonfirmatiin and cancellation message comes only in english. where do i translate it.. for example: Your booking for: 18 juin 2015 - 19 juin 2015 has been approved.
Prénom:Boris
Nom de famille:champagne
couriel:cboris@bleutree.ca
Téléphone:222-333-44-55
Détails:
okidou
Hello.
You can configure email templates on your language at the Booking > Settings > Emails page. If you need to have them in several languages, then please check this article: https://wpbookingcalendar.com/faq/several-languages/
Kind regards.
Show custom fields in Search Results
I modified form SEARCH AVAILABILITY to add more fields. I used your tutorial:
https://wpbookingcalendar.com/faq/selecting-tags-in-search-form/
Everything works fine.
I created the fields with the ACF plugin. I want to show the fields in the FORM of SEARCH RESULTS using php or with a shortcode like this:
[acf field = "booking_field"]
Is this possible? How I can display these custom fields in Search Results?
Hello.
Booking Calendar support only standard/default "custom" posts fields of WordPress for definition additional parameters to pages with booking forms for showing them in search results.
Unfortunately plugin does not support some third party plugins custom fields for showing in search results.
Please use the dtandard WordPress custom fields in the pages with booking forms.
Kind regards.
If I use this code which indicates the codex wordpress
or
ID, 'booking_field', true); ?>
It does not work.
What is the way to display standard custom fields from wordpres in Search Results?
Hello.
You can not use the some values from the custom fields to show in search resutls. These values only for the parameters to filter the search results, using the search form.
But you can write the info (about the custom fields) or some other data in the "Post Excerpt" section of the post. This section is showing as description in the search results.
Kind Regards.
Thanks for all!!!
Getting error message below at the bottom of every page of my site and in WP dashboard.
Warning: Missing argument 2 for wpdb::prepare(), called in /home/torresei/public_html/belvedereassociation/wp-content/plugins/booking.personal.4.0.1/lib/wpdev-booking-functions.php on line 19 and defined in /home/torresei/public_html/belvedereassociation/wp-includes/wp-db.php on line 1210
Any suggestions on how to fix?
Hello.
This issue was fixed since the update 4.1 of the plugin. Please check here: https://wpbookingcalendar.com/changelog/
You can request the new update at this page https://wpbookingcalendar.com/request-update/
Hi,
I'm using Business Large Developer to create a booking form with time slots. How it would work is a person comes along and selects a start time and then the duration of the slot, which work fine. What I'm having problems is when someone books 9-10.30 slot and the 11 - 12.30 slot, the 10.30 slot can be selected for a duration when there's no space for it. If this makes sense.
Select Times:[select starttime default:13:00 "9:00 AM@@09:00" "9:30 AM@@09:30" "10:00 AM@@10:00" "10:30 AM@@10:30" "11:00 AM@@11:00" "11:30 AM@@11:30" "12:00 PM@@12:00" "12:30 PM@@12:30" "1:00 PM@@13:00" "1:30 PM@@13:30" "2:00 PM@@14:00" "2:30 PM@@14:30" "3:00 PM@@15:00" "3:30 PM@@15:30" "4:00 PM@@16:00" "4:30 PM@@16:30" "5:00 PM@@17:00" "5:30 PM@@17:30" "6:00 PM@@18:00"]
Duration:[select durationtime default:01:00 "1 hour@@01:30" "2 hour@@02:30"]
Hello.
Visitor can select this start time but can not make the booking. System will show warning that the selected times already booked.
If you want that visitor can not select the times at all for such situations, then you need to use the timerange (timeslots) shortcodes.
Kind regards.
Hello,
how can I sort the resources on Calendar booking view?
Thank you.
Hello.
You can sort booking resources by setting higher or lower priority at the Booking > Resources page.
Thank you
Hello,
is it possible to disable option by default "Send email notification to customer about this operation" when you are modifying a reservation?
Thank you.
Hello.
You will be need to make this fix.
Please open this file ../{Booking Calendar Folder}/lib/wpdev-booking-class.php
then find this code:
<input name="is_send_email_for_new_booking" id="is_send_email_for_new_booking" type="checkbox" checked="CHECKED" value="On" /> <?php _e('Send email notification to customer about this operation', 'wpdev-booking');?>
and replace it to this code:
<input name="is_send_email_for_new_booking" id="is_send_email_for_new_booking" type="checkbox" <?php if (! isset($_GET['booking_hash'])) { ?> checked="CHECKED" <?php } ?> value="On" /> <?php _e('Send email notification to customer about this operation', 'wpdev-booking');?>
Kind Regards.
It works, thank you.
Hello,
I have several resources in different forms. After fill all fields and press send button, the next step is going to gateway payment page. However, I have one resource of them that I don't want to go to this page, I want only receive an email to with filled details. Is it possible?
Thank you.
Hello.
If you need that for one specific booking resource, payment form is not showing, then you need to be sure that the cost of the booking(s) for this booking resource = 0. In this case payment form will not show for this booking resource.
Its does not possible to deactivate payment forms for specific booking resources in other ways. Only deactivate payment forms for all booking resources.
Kind Regards.
It is good for me. Thank you!
Hello,
I have an issue calculating the cost. I see the faq that tells % without(+) sum the % to total cost, not to original. But it is not working right in my case. I have costs on my resource as you can see below:
Additional cost for durationtime: 01:00 = 100%
02:00 = 6
04:00 = 15
Additional cost for visitors: 1 = 100%
2 = 200%
3 = 300%
4 = 400%
5 = 500%
The original cost is 4. If I choose 2:00h, the cost is 10. It is Ok. But if I choose 3 too, the system shows me a total cost of 18, but it should be 30. Am I doing anything wrong?
Thank you.
Hello.
In your case system calculate additional cost in this way = 4*300% + 6 = 18
You need to activate this checkbox "Check this box if you want that specific additional cost, which configured as percentage for some option, apply to other additional fixed costs and not only to original booking cost. " at bottom of Booking > Resources > Advanced cost page.
Kind Regards.
I am sorry, but I've I apply this checkbox other forms are not calculating correct the cost. You recommend me days before to deactivate it, because in my forms shows the cost 0 when I have enabled this option.
Then, I don't understand this:
"For example, if the original cost of the booking is $80, then after applying additional costs the total cost will be folowing:
Enter fixed cost:55, then total cost will be $80 + $55 = $135
Enter percentage of the entire booking:200%, then total cost will be $80 * 200% = $160
Enter percentage as additional sum, which is based only on original cost and not full sum:+75%, then total cost will be 80 + 80 * 75% = $140"
thank you.
Hello.
Based on your previous example.
If the original cost of the booking = 4
and fixed additional cost (of the "02:00") = 6
and you set for the visitor (3 = 300%), then
1) if the "bottom checkbox" is not "checked" the total sum is calculated like this:
4 * 300% + 6 = 18
2) if the "bottom checkbox" is "checked" the total sum is calculated like this:
4 * 300% + 6 * 300% = 30
3) And if you set for the visitors "+300%" instead of "300%", then we have this
4 + 4 * 300% + 6 = 22
Please note, here "base" (original cost of booking) is 4, thats why we have base 4, then we apply 300% to the base and sum them, and then add fixed cost.
In this example, cost do not depend from the bottom, checkbox. Because its about the percentage apply (like this 300% ) to only original cost or to the fixed additional cost and to the original cost.
Kind Regards.
Hello,
I have purchased the small business plugin and have it all set up and running with all the form fields I need except for one. I have a couple different resource items (that are all different prices) that I want to be able to choose from when filling out the booking form. How can I add these items that I have in my resources section to the booking page?
Thanks,
Danyelle
Hello.
Its does not possible to select the booking resources by using the field in the booking form, but you can insert the other Booking Calendar shortcode for ability to select specific booking resources, like in this example: https://bm.wpbookingcalendar.com/select-resource/
Please read how to configure shortcode here https://wpbookingcalendar.com/help/booking-calendar-shortcodes/#bookingselect
Kind Regards.
I've got the booking calendar large business . When trying to add a new resource, this message appears
Error during adding new booking resource into DB
[F:/personal.php|L:1300|V:9.Business.Large.SingleSite.5.4.2|DB:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 1 , 0 , standard) at line 1]
Hello.
It's seems like your installation was not complete.
I can suggest that you make FULL reinstall of plugin (its mean that booking data will be erased). For this please open the general booking settings page and make checked the "Delete booking data during deactivation of plugin" at the right side.
then open the WordPress plugins menu and click on "Deactivate" link. Wait for the message that plugin is deactivated successfully. After this Click on "Activate" link of Booking Calendar plugin and wait for the message that plugin is activated successfully. After this test it again.
Kind regards.
in my reservation calendat, the email sending cfonfirmatiin and cancellation message comes only in english. where do i translate it.. for example: Your booking for: 18 juin 2015 - 19 juin 2015 has been approved.
Prénom:Boris
Nom de famille:champagne
couriel:cboris@bleutree.ca
Téléphone:222-333-44-55
Détails:
okidou
Thank you, Brise océane
https://www.briseoceane.ca/7dB01B8
Hello.
You can configure email templates on your language at the Booking > Settings > Emails page. If you need to have them in several languages, then please check this article: https://wpbookingcalendar.com/faq/several-languages/
Kind regards.