Page 1 of 1
Wordpress plugin and embedded page - question
Posted: Mon Sep 25, 2017 7:07 pm
by zbyneksmetana
Sorry for language mistakes i dont speak english well.
In my website (wordpress) i have embedded page
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
Re: Wordpress plugin and embedded page - question
Posted: Tue Sep 26, 2017 7:59 am
by annettemorgenroth
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.
Re: Wordpress plugin and embedded page - question
Posted: Tue Sep 26, 2017 12:57 pm
by zbyneksmetana
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?
Re: Wordpress plugin and embedded page - question
Posted: Wed Sep 27, 2017 11:53 am
by annettemorgenroth
We have just released an updated version of the plugin which should fix this problem.
Re: Wordpress plugin and embedded page - question
Posted: Wed Sep 27, 2017 12:41 pm
by zbyneksmetana
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")
Re: Wordpress plugin and embedded page - question
Posted: Wed Sep 27, 2017 4:59 pm
by zbyneksmetana
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/',
Re: Wordpress plugin and embedded page - question
Posted: Thu Sep 28, 2017 8:30 am
by markkinchin
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.
Re: Wordpress plugin and embedded page - question
Posted: Thu Sep 28, 2017 1:26 pm
by zbyneksmetana
Thanks