Page 1 of 2

peopleSelection=0 not working in WP

Posted: Fri Sep 15, 2017 4:02 pm
by anzejl
Hi
I have been trying to set up wordpress booking strip with only arriving date and departure date.
I have tried to use peopleSelection=0, but WP always shows "Guests" field.
When I see the booking strip in www.beds24.com it looks good without "Guests" field, but when I move the WP shortcode to Worpdress, I get 2 date fields and "Guests" field. It is like peopleSelection=0 is not working in Wordpress.

Re: peopleSelection=0 not working in WP

Posted: Sat Sep 16, 2017 7:10 am
by annettemorgenroth
Are you asking about a booking widget or the embedded booking page?

1. Booking widget:
You can generate the short code in SETTINGS->BOOKING PAGE->BOOKING WIDGETS. If you do no want to show the number of guests set "People selection" = None

2. Embedded Iframe:
The selector strip will not ask for the number of guests if you set "Collect Number of Guests " = No for all rooms in SETTINGS->PROPERTIES->ROOMS->SETUP.

Re: peopleSelection=0 not working in WP

Posted: Mon Sep 18, 2017 9:20 am
by anzejl
The booking strip in WP always shows people selection field, even if peopleSelection=0 is used.
For example following code on beds24.com shows 2 date fields and one Book button:
[bookwidget propid=39142 formAction='https://www.beds24.com/booking.php' formTarget='' peopleSelection=0 widgetLang='en' widgetType='BookingStrip']
But in Wordpress it shows 2 date fields, GUEST FIELD and Book button?!?

Re: peopleSelection=0 not working in WP

Posted: Mon Sep 18, 2017 9:25 am
by annettemorgenroth
Can you please give a link to your web site so we can see what you are referring to?

Re: peopleSelection=0 not working in WP

Posted: Mon Sep 18, 2017 10:35 am
by anzejl
Just a testing site: http://ljubljana-airport-hotel.com
You can see booking strip on the bottom of first screen (not page).
It includes 3 fields. It should include only 2 fields (dates) as shown on beds24.com page, where the shortcode was produced.

Re: peopleSelection=0 not working in WP

Posted: Mon Sep 18, 2017 11:38 am
by annettemorgenroth
I assume you mean this:

Image

You can generate the short code for a booking strip with out the number of guests in in SETTINGS->BOOKING PAGE->BOOKING WIDGETS. If you do no want to show the number of guests set "People selection" = None

Re: peopleSelection=0 not working in WP

Posted: Mon Sep 18, 2017 4:30 pm
by anzejl
Dear Annete
I am trying to tell you "peopleSelection=0" is not working.
I have already selected "People selection"=None and it shows correctly in the Sample preview but it is not showing on WP (where I copied the shortcode).
I have inputted into WP shortcode as written before:
[bookwidget propid=39142 formAction='https://www.beds24.com/booking.php' formTarget='' peopleSelection=0 widgetLang='en' widgetType='BookingStrip']
It contains also peopleSelection=0, as you can see above.
But the result you can also see on the web page mentioned below-it shows people selection field.

Please see attached picture for easy understanding.
Expected and obtained result
Expected and obtained result
beds24 people.png (16.56 KiB) Viewed 18397 times

Re: peopleSelection=0 not working in WP

Posted: Mon Sep 18, 2017 5:13 pm
by annettemorgenroth
If you want to change the short code you are using you use

peopleSelection=0

If you can not fix it I recommend you create a new widget in the Beds24 control panel (not on Wordpress). This is how you do it:

1. In your Beds24 control panel to SETTINGS->BOOKING PAGE->BOOKING WIDGETS

2. In the widget designer set "People selection" = None

3. Click on "Get Short Code"

4. Copy the short code

5. Go to your Wordpress site, remove the short code you are currently using and replace it with the new short code

Re: peopleSelection=0 not working in WP

Posted: Tue Sep 19, 2017 2:46 am
by anzejl
Have done according your instructions (from beginning). Actually this is the only way I know how to generate WP shortcode.
Please check printscreen of beds24.com, where WP code is taken and copied to WP and producing not expected results.

Do you have any other suggestion?
beds24screenshot.png
beds24screenshot.png (98.1 KiB) Viewed 18393 times

Re: peopleSelection=0 not working in WP

Posted: Thu Sep 21, 2017 2:30 pm
by annettemorgenroth
Can you please give us a link to your Wordpress site where you have added the widget?