Mobile Prices: Difference between revisions

Jump to navigation Jump to search
Created page with "Category:Rates Category:Daily_Prices Category:Prices <div class="heading">Mobile Prices</div> This page explains how to show different prices on mobile devices a..."
 
No edit summary
Line 13: Line 13:
After you have created the offer you can set up prices for the offer. Click on  <span style="color:#007bff;“ >{{#far:question-circle}}  </span> in the top right for detailed instructions.  
After you have created the offer you can set up prices for the offer. Click on  <span style="color:#007bff;“ >{{#far:question-circle}}  </span> in the top right for detailed instructions.  


'''Step 1: Add a script '''  
'''Step 1: Add the script '''  


Go to {{#fas:cog}} (SETTINGS)  BOOKING ENGINE > PROPERTY BOOKING PAGE > DEVELPERS and add the script below to the <head> section:
Go to {{#fas:cog}} (SETTINGS)  BOOKING ENGINE > PROPERTY BOOKING PAGE > DEVELPERS and add the script below to the <head> section:


<code><script>$(document).ready(function() {if($(window).width() >= 800) {$('.offerid1').show();$('.offerid2').hide();}else{$('.offerid1').hide();$('.offerid2').show();}});</script></code>
<code><script>$(document).ready(function() {if($(window).width() >= 800) {$('.offerid1').show();$('.offerid2').hide();}else{$('.offerid1').hide();$('.offerid2').show();}});</script></code>