Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. Embedded Iframe Lite – this script gives you only the booking calendar. This means that you create the product details yourself (feel free to gather the info from TDMS) and then add an embedded iframe calendar to book to the page
  2.  
  3. <div id="mysites-root" class="mysites-root-product774482"></div>
  4. <script>(function(d, s, id) {
  5. var js, fjs = d.getElementsByTagName(s)[0];
  6. if (d.getElementById(id)) return;
  7. js = d.createElement(s); js.id = id;
  8. js.src = "http://embeddedtest.mysites.travel/embed/EmbedCode/0/0/0/0/4112?site=http://embeddedtest.mysites.travel";
  9. fjs.parentNode.insertBefore(js, fjs);
  10. }(document, 'script', 'mysites-js774482'));</script>
  11.  
  12.  
  13.  
  14. Embedded Iframe Lite Book Now Button – this script includes the creation of a Book Now button that you can put on your page where you have created the content. When clicking the button the booking calendar pops up and you can proceed with your booking
  15.  
  16. <div id="mysites-root" class="mysites-root-product774482"></div>
  17. <script>(function(d, s, id) {
  18. var js, fjs = d.getElementsByTagName(s)[0];
  19. if (d.getElementById(id)) return;
  20. js = d.createElement(s); js.id = id;
  21. js.src = "http://embeddedtest.mysites.travel/embed/PopupCode/0/0/0/0/4112?site=http://embeddedtest.mysites.travel";
  22. fjs.parentNode.insertBefore(js, fjs);
  23. }(document, 'script', 'mysites-js774482'));</script>
  24.  
  25.  
  26.  
  27. If you just want the pure link to the product page, you can also use that to create your own scripts, embedded iframe or booking buttons.
  28.  
  29. https://embeddedtest.mysites.travel/quickbuy/buy/774479
  30.  
  31.  
  32.  
  33. Each product has its own code, so when you get access to the back end, you simple search the product you wish to import, find it and copy the code for that product to your site.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement