Page 1 of 1

embedded agent page ?

Posted: Thu Feb 07, 2019 5:26 am
by somn'en bulle
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)

Re: embedded agent page ?

Posted: Thu Feb 07, 2019 8:32 am
by markkinchin
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

Re: embedded agent page ?

Posted: Thu Feb 07, 2019 10:52 am
by somn'en bulle
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 :/

Re: embedded agent page ?

Posted: Mon Feb 11, 2019 6:44 am
by somn'en bulle
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 ?

Re: embedded agent page ?

Posted: Tue Feb 19, 2019 12:35 pm
by annettemorgenroth
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.

Re: embedded agent page ?

Posted: Tue Feb 19, 2019 1:44 pm
by somn'en bulle
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:

Re: embedded agent page ?

Posted: Tue Feb 19, 2019 6:04 pm
by annettemorgenroth
We cache the information for the last search as a service for the guest. Overriding this is not possible.