IFRAME settings for Onesystem B2C
Onesystem B2C solution, comes with iframe support. Iframe is a technology works over the links, and let other people show you content on their website without serious programming. Generally we create a subdomain as “subagent.yourdomain.com” and publish there same content but without header and footer branding. Things need to now about iframe.
- Simple our theme and plugin server same content in original and iframe website.
If one can take a link from your website and replace hostname as below with iframe subdomain, it will lead to same content without branding. For example :Original link https://1atravel.rs/putovanje/steigenberger-al-dau-beach-hotel/
Iframe link : https://subagent.1atravel.rs/putovanje/steigenberger-al-dau-beach-hotel/ - There are no limit number of iframe subdomains. As long as it hits the same hosting you may have several subdomains.
These subdomains has to be registered in Onesystem B2C plugin settings as in picture.
- Iframe sites normally not allow sub-agents to make online reservation. To allow that there are 2 different methods.
- Provide sub-agent and identifier code (Referer ID) (** Recommended**)
This code is generated by onesystem, you can get in in client edit card on the right corner labeled as UID
If subagency connects the link with Uid as parameter “refererID” then website will allow any client to make reservation on behalf of subagency.
It case of reservation also subagency will be notified by email automatically.
Example :
https://subagent.1atravel.rs/putovanje/steigenberger-al-dau-beach-hotel/?refererID=Your UID
- Allow sub-agent from plugin settings by their website referer. Website read the referer host which opened iframe. If your subdomain defined in plugin settings,
iframe site recognize you like agent.
- Provide sub-agent and identifier code (Referer ID) (** Recommended**)
- Additional hide optionsIframe settings hides automaticall header and footer. For the hotel detail pages we have some optional more hiding options as below. They have to be added as parameters to the link.
- hheader : top picture and name of hotel
- hsearch : availibility search
- hbottom : bottom definitions of hotel
- htext : text info about hotel
- hpricelist : pricelists if exists
- htourprogram : tour programs if exists
- hfiles : fie download tab
- hmap : map tab
