peopleSelection=0 not working in WP

Post here if you cannot find a better category
anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

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.
annettemorgenroth
Posts: 1337
Joined: Sun Jun 30, 2013 8:44 am

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.
anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

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?!?
annettemorgenroth
Posts: 1337
Joined: Sun Jun 30, 2013 8:44 am

Can you please give a link to your web site so we can see what you are referring to?
anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

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.
annettemorgenroth
Posts: 1337
Joined: Sun Jun 30, 2013 8:44 am

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
anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

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 5077 times
annettemorgenroth
Posts: 1337
Joined: Sun Jun 30, 2013 8:44 am

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
anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

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 5073 times
annettemorgenroth
Posts: 1337
Joined: Sun Jun 30, 2013 8:44 am

Can you please give us a link to your Wordpress site where you have added the widget?
Post Reply