embedded agent page ?

Everything related to your website and the Beds24 widgets
Post Reply
somn'en bulle
Posts: 28
Joined: Sat May 05, 2018 6:42 pm

embedded agent page ?

Post by somn'en bulle » Thu Feb 07, 2019 5:26 am

Hello, is there a way to have an agent booking page embedded into another website ?
I'm using WordPress but I could use an iframe if needed.
Thanks : )

(Sidenote, this would be to use gift voucher agent request, explaining my need for a page integreated)

markkinchin
Site Admin
Posts: 885
Joined: Fri Mar 02, 2012 1:43 pm

Re: embedded agent page ?

Post by markkinchin » Thu Feb 07, 2019 8:32 am

Yes you can.

Use an iframe and have it open a URL to the booking page with the appropriate &agent= value in the URL

The agent can then be shown special prices defined for that agent

somn'en bulle
Posts: 28
Joined: Sat May 05, 2018 6:42 pm

Re: embedded agent page ?

Post by somn'en bulle » Thu Feb 07, 2019 10:52 am

I've set up this one

<iframe src ="https://www.beds24.com/booking2.php?pro ... =boncadeau" width="1200" height="1600" style="max-width:100%;border:none;overflow:auto;"><p><a href="https://www.beds24.com/booking2.php?pro ... =boncadeau" title="Book Now">Book Now</a></p></iframe>

For my Gift Voucher but using the wordpress plugin allowed me to see the agent rate if i came back to the standart plugin page so i created a second agent named wordpress for my normal booking :

<iframe src ="https://www.beds24.com/booking2.php?pro ... ncedays=-1" width="1200" height="1400" style="max-width:100%;border:none;overflow:auto;"><p><a href="https://www.beds24.com/booking2.php?pro ... =wordpress" title="Book Now">Book Now</a></p></iframe>

Both agents have there name in the "setting / booking rule / agent"
Both rate are explusive to themself, the only difference is that boncadeau is "request only" and wordpress is "deposit1 only"

All seamed fine until i received a booking fully paid (deposit 1 is 100%) BUT with as referer and original referer set as "boncadeau"

I did not set a refere for the wordpress agent, is that why ?
Or am i missing something ?
And why did the wordpress plugin got the agent rate after i visited the page ? Does the rate stays after you got it once ?
Did i mess up the iframe ?

Sorry :/

somn'en bulle
Posts: 28
Joined: Sat May 05, 2018 6:42 pm

Re: embedded agent page ?

Post by somn'en bulle » Mon Feb 11, 2019 6:44 am

It seems like some info get carry on from one page to the other.
I received a gift voucher bought in April while I disabled the ability to change the date. My guess is that the person looked at the date on the reservation page then bought the voucher.

Is there a way to address this ? Like a way to force a reset on date / agent / referrer ?

annettemorgenroth
Posts: 884
Joined: Sun Jun 30, 2013 8:44 am

Re: embedded agent page ?

Post by annettemorgenroth » Tue Feb 19, 2019 12:35 pm

somn'en bulle wrote:
Mon Feb 11, 2019 6:44 am
I received a gift voucher bought in April while I disabled the ability to change the date.
Gift vouchers do not work with dates. If you want to stop a gift voucher from being valid you need to remove it or set it to "Not used" in Settings > Properties > Voucher Codes.

somn'en bulle
Posts: 28
Joined: Sat May 05, 2018 6:42 pm

Re: embedded agent page ?

Post by somn'en bulle » Tue Feb 19, 2019 1:44 pm

The date doesn't matter, but it still "exist" in the system. The gifts are "activity day" that only server as a holder of there value but they still have a date.
Or am i missing something ?

But it doesn't matter, my real problem is preventing informations from being kept from one page to the other.

Like for exemple i have two page with :
&amp;advancedays=-1 for "first avalible night" (in my case, my "normal booking" page)
and a second with
&amp;advancedays=0 for "today" (in my case, my gift voucher page)

If i visit the first one THEN go to the second one i will not get today on the second one but "first available"
And i change the date to let's say 05/08/2022 on the fist page, when i go to the second the date will be 05/08/2022 ignoring the &amp;advancedays=0

My question, can i force the date reset ? (well actually date doesn't matter too much, but agent codes are carried too :/)

Like &amp;advancedays=0!important :lol:

annettemorgenroth
Posts: 884
Joined: Sun Jun 30, 2013 8:44 am

Re: embedded agent page ?

Post by annettemorgenroth » Tue Feb 19, 2019 6:04 pm

We cache the information for the last search as a service for the guest. Overriding this is not possible.

Post Reply