Wordpress plugin and embedded page - question

Everything related to your website and the Beds24 widgets
Post Reply
zbyneksmetana
Posts: 7
Joined: Sun Sep 17, 2017 11:12 pm

Sorry for language mistakes i dont speak english well.
In my website (wordpress) i have embedded page

Code: Select all

[beds24-embed]

on other page i have shortcode

Code: Select all

[bookwidget	roomid="12345"	formAction='https://www.beds24.com/booking.php'	formTarget='_blank'	redirect='http://url_to_site_with_[beds24-embed]_shortcode.com '	widgetLang='en'	widgetType='BookingBox']
when i click "book now" in widget page i see "booking page" on website "https://www.beds24.com/booking.php" not on my embedded site. It seems "redirect='http://url_to_site_with_[beds24-embed]_shortcode.com" not working. Is there any solution of this problem.

Thanks,
Zbynek
annettemorgenroth
Posts: 1335
Joined: Sun Jun 30, 2013 8:44 am

You forgot to set a redirct. You need to enter the URL of the page on your web site where the shortcode [beds24-embed] has been added.

Please go back to the widget designer in the Beds24 control panel and make sure you enter the URL of this page in the "Redirect URL" setting. Then generate a new short code and add this to where you want to display the widget.
zbyneksmetana
Posts: 7
Joined: Sun Sep 17, 2017 11:12 pm

look on example (fresh install wordpress (only your plugin is installed) and only two page)
http://beds24test.wroc.vot.pl/widget/

there are two widgets

1. [bookwidget roomid=12345 formAction='https://www.beds24.com/booking.php' redirect='http://beds24test.wroc.vot.pl/embedd/' widgetLang='en' widgetType='BookingBox']

2. [beds24-button roomid=12345 href='http://beds24test.wroc.vot.pl/embedd/']

on page
http://beds24test.wroc.vot.pl/embedd/

is only [beds24-embed]

"Bookwidget" redirect not working, "beds24-button" work well. what am I doing wrong?
annettemorgenroth
Posts: 1335
Joined: Sun Jun 30, 2013 8:44 am

We have just released an updated version of the plugin which should fix this problem.
zbyneksmetana
Posts: 7
Joined: Sun Sep 17, 2017 11:12 pm

Look again on page

http://beds24test.wroc.vot.pl/widget/ (after your plugin update )

after click first widget, widget redirect properly but not setup properly "check in" "check out", room not selected (roomid="12345")
zbyneksmetana
Posts: 7
Joined: Sun Sep 17, 2017 11:12 pm

Look also on page with your widget

http://rejestracja.beds24test.wroc.vot.pl/index2.html (simple not wordpress page, look in the source code).

After click widget we are redirected to page

http://rejestracja.beds24test.wroc.vot.pl/ (simple not wordpress page, look in the source code)

with embedded <iframe>.

"Check in" and "check out" is set properly but room is not selected (look roomid:90503 in jquery ) and we see all rooms not only one. This problem does not appear when we delete line with redirection from jquery code

redirect:'http://rejestracja.beds24test.wroc.vot.pl/',
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

The redirect will transport the dates and number of guests to the page with the iframe.

It is not intended to set a particular room. If you want to show just one room you can use a different landing page for each room and redirect to the appropriate landing page. Make sure to replace the propid= parameter in the iframe src with the appropriate roomid number.
zbyneksmetana
Posts: 7
Joined: Sun Sep 17, 2017 11:12 pm

Thanks
Post Reply