diff --git a/admin/themes/default/template/controllers/normal_products/helpers/form/form.tpl b/admin/themes/default/template/controllers/normal_products/helpers/form/form.tpl
index 14b55a338..d1b79abc2 100644
--- a/admin/themes/default/template/controllers/normal_products/helpers/form/form.tpl
+++ b/admin/themes/default/template/controllers/normal_products/helpers/form/form.tpl
@@ -77,9 +77,9 @@
var product_type_simple = {Product::PTYPE_SIMPLE|intval};
var SELLING_PREFERENCE_WITH_ROOM_TYPE = {Product::SELLING_PREFERENCE_WITH_ROOM_TYPE|intval};
- var SELLING_PREFERENCE_HOTEL_STANDALONE = {Product::SELLING_PREFERENCE_HOTEL_STANDALONE|intval};
- var SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE = {Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE|intval};
- var SELLING_PREFERENCE_STANDALONE = {Product::SELLING_PREFERENCE_STANDALONE|intval};
+ var SELLING_PREFERENCE_WITH_HOTEL = {Product::SELLING_PREFERENCE_WITH_HOTEL|intval};
+ var SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE = {Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE|intval};
+ var SELLING_PREFERENCE_WITH_STANDALONE = {Product::SELLING_PREFERENCE_WITH_STANDALONE|intval};
var price_addition_type_with_room = {Product::PRICE_ADDITION_TYPE_WITH_ROOM|intval};
var price_addition_type_independent = {Product::PRICE_ADDITION_TYPE_INDEPENDENT|intval};
diff --git a/admin/themes/default/template/controllers/normal_products/informations.tpl b/admin/themes/default/template/controllers/normal_products/informations.tpl
index 7dcd57e42..3437c1d03 100644
--- a/admin/themes/default/template/controllers/normal_products/informations.tpl
+++ b/admin/themes/default/template/controllers/normal_products/informations.tpl
@@ -261,7 +261,7 @@
-
selling_preference_type != Product::SELLING_PREFERENCE_WITH_ROOM_TYPE && $product->selling_preference_type != Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE && $product->selling_preference_type != Product::SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE && $product->selling_preference_type != Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE && $product->selling_preference_type != 0}style="display:none;"{/if}>
+
selling_preference_type != Product::SELLING_PREFERENCE_WITH_ROOM_TYPE && $product->selling_preference_type != Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE && $product->selling_preference_type != Product::SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE && $product->selling_preference_type != Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE && $product->selling_preference_type != 0}style="display:none;"{/if}>
{$product['name']|escape:'html':'UTF-8'}
- {include file='_partials/price-calculation-info.tpl' pcm=$product.price_calculation_method|default:0}
+ {assign var='priceCalcMethod' value=$product.price_calculation_method|default:0}
+ {capture name='htl_pcm_tooltip'}
+
+ {/capture}
+ {include file='_partials/htl-tooltip.tpl' tooltip_content=$smarty.capture.htl_pcm_tooltip allow_html=true}
{if $product.allow_multiple_quantity}
diff --git a/themes/hotel-reservation-theme/_partials/price-calculation-info.tpl b/themes/hotel-reservation-theme/_partials/htl-tooltip.tpl
similarity index 59%
rename from themes/hotel-reservation-theme/_partials/price-calculation-info.tpl
rename to themes/hotel-reservation-theme/_partials/htl-tooltip.tpl
index af5f05850..997e93fa7 100644
--- a/themes/hotel-reservation-theme/_partials/price-calculation-info.tpl
+++ b/themes/hotel-reservation-theme/_partials/htl-tooltip.tpl
@@ -20,24 +20,14 @@
* @license https://opensource.org/license/osl-3-0-php Open Software License version 3.0
*}
-{* Required param: pcm — price_calculation_method integer value *}
-
+
-
-
+
+ {if isset($allow_html) && $allow_html}
+ {$tooltip_content nofilter}
+ {else}
+ {$tooltip_content|escape:'html':'UTF-8'}
+ {/if}
diff --git a/themes/hotel-reservation-theme/_partials/order-extra-services.tpl b/themes/hotel-reservation-theme/_partials/order-extra-services.tpl
index 903ba40c8..f764048e7 100644
--- a/themes/hotel-reservation-theme/_partials/order-extra-services.tpl
+++ b/themes/hotel-reservation-theme/_partials/order-extra-services.tpl
@@ -58,7 +58,33 @@
{if $additionalService['allow_multiple_quantity']}
{l s='(Quantity: %s)' sprintf=[$additionalService['quantity']|string_format:'%02d']}
{/if}
- {include file='_partials/price-calculation-info.tpl' pcm=$additionalService.price_calculation_method|default:0}
+ {assign var='priceCalcMethod' value=$additionalService.price_calculation_method|default:0}
+ {capture name='htl_pcm_tooltip'}
+
+ {/capture}
+ {include file='_partials/htl-tooltip.tpl' tooltip_content=$smarty.capture.htl_pcm_tooltip allow_html=true}
diff --git a/themes/hotel-reservation-theme/_partials/order-room-detail.tpl b/themes/hotel-reservation-theme/_partials/order-room-detail.tpl
index aaf47aa0c..35f3ac7c9 100644
--- a/themes/hotel-reservation-theme/_partials/order-room-detail.tpl
+++ b/themes/hotel-reservation-theme/_partials/order-room-detail.tpl
@@ -125,41 +125,35 @@
{displayWtPriceWithCurrency price=($rm_v.amount_tax_excl + $rm_v.extra_demands_price_te + $rm_v.additional_services_price_te + $rm_v.additional_services_price_auto_add_te) currency=$currency}
{/if}
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
-
-
-
-
-
-
-
-
{l s='Room(s) cost:'}
-
-
-
- {if $group_use_tax}
- {displayWtPriceWithCurrency price=($rm_v.amount_tax_incl + $rm_v.additional_services_price_auto_add_ti) currency=$currency}
- {else}
- {displayWtPriceWithCurrency price=($rm_v.amount_tax_excl + $rm_v.additional_services_price_auto_add_te) currency=$currency}
- {/if}
-
-
+ {capture name='htl_room_price_tooltip'}
+
diff --git a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl
index c636e4129..8aba19cd4 100644
--- a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl
+++ b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl
@@ -38,7 +38,33 @@
{block name='service_product_name'}
{$service_product['name']}
- {include file='_partials/price-calculation-info.tpl' pcm=$service_product.price_calculation_method|default:0}
+ {assign var='priceCalcMethod' value=$service_product.price_calculation_method|default:0}
+ {capture name='htl_pcm_tooltip'}
+
+ {/capture}
+ {include file='_partials/htl-tooltip.tpl' tooltip_content=$smarty.capture.htl_pcm_tooltip allow_html=true}
{/block}
{block name='service_product_description'}
diff --git a/themes/hotel-reservation-theme/css/global.css b/themes/hotel-reservation-theme/css/global.css
index 5f279fe45..da55c3acc 100644
--- a/themes/hotel-reservation-theme/css/global.css
+++ b/themes/hotel-reservation-theme/css/global.css
@@ -9188,36 +9188,51 @@ div a.our_properties_link{
font-size: 17px;
font-weight: 400;}
-/* price calculation info tooltip */
-.price-calculation-info {
- cursor: pointer;
- display: inline-block;
- vertical-align: middle;
- margin-left: 4px;
+.htl-tooltip {
+ cursor: pointer;
+ display: inline-block;
+ vertical-align: middle;
+ margin-left: 4px;
}
-.ui-tooltip.price-tootip {
- box-shadow: 0 2px 6px 0 rgb(0 0 0 / 20%);
- background: #FFFFFF;
- border: unset;
- color: #333;
- padding: 9px 15px;
+
+.ui-tooltip.htl-tooltip-popup {
+ box-shadow: 0 2px 6px 0 rgb(0 0 0 / 20%);
+ background: #FFFFFF;
+ border: unset;
+ color: #333;
+ padding: 9px 15px;
}
-.ui-tooltip.price-tootip .price-info-tooltip-cont {
- min-width: 160px;
+
+.htl-tooltip-cont {
+ min-width: 160px;
}
-.ui-tooltip.price-tootip .applied-on-label {
- margin: 0 0 6px;
- font-weight: 600;
- font-size: 13px;
+
+.htl-tooltip-cont .htl-tooltip-title {
+ margin: 0 0 6px;
+ font-weight: 600;
+ font-size: 13px;
}
-.ui-tooltip.price-tootip .applied-on-days {
- margin: 0;
- padding-left: 16px;
- font-size: 13px;
+
+.htl-tooltip-cont ul {
+ margin: 0;
+ padding-left: 16px;
+ font-size: 13px;
+ list-style: disc;
}
-.ui-tooltip.price-tootip .applied-on-days li {
- padding: 2px 0;
+
+.htl-tooltip-cont ul li {
+ padding: 2px 0;
}
-.price-info-tooltip-cont ul li{
- list-style: disc;;
+
+.htl-tooltip-cont .htl-tooltip-row {
+ display: flex;
+ justify-content: space-between;
+ margin: 5px 0;
+ white-space: nowrap;
+}
+
+.htl-tooltip-cont .htl-tooltip-row p,
+.htl-tooltip-cont .htl-tooltip-row label {
+ margin: 0;
+ font-size: 13px;
}
diff --git a/themes/hotel-reservation-theme/js/global.js b/themes/hotel-reservation-theme/js/global.js
index b842d5b47..626957309 100644
--- a/themes/hotel-reservation-theme/js/global.js
+++ b/themes/hotel-reservation-theme/js/global.js
@@ -458,40 +458,41 @@ window.addEventListener('offline', function () {
onlineFlag = false;
});
-function initPriceCalculationTooltip() {
- if ($('.price-calculation-info').length) {
- $('.price-calculation-info').each(function () {
- if ($(this).hasClass('ui-tooltip-content')) {
- return;
- }
- $(this).tooltip({
- content: $(this).siblings('.price-calculation-info-container').html(),
- items: 'span',
- trigger: 'hover',
- tooltipClass: 'price-tootip',
- open: function (event, ui) {
- if (typeof (event.originalEvent) === 'undefined') {
- return false;
- }
- var $id = $(ui.tooltip).attr('id');
- if ($('div.ui-tooltip').not('#' + $id).length) {
- return false;
- }
- },
- close: function (event, ui) {
- ui.tooltip.hover(function () {
- $(this).stop(true).fadeTo(400, 1);
- }, function () {
- $(this).fadeOut('400', function () {
- $(this).remove();
- });
- });
- }
- });
- });
+function initHtlTooltip() {
+ if (!$('.htl-tooltip').length) {
+ return;
}
+ $('.htl-tooltip').each(function () {
+ if ($(this).hasClass('ui-tooltip-content')) {
+ return;
+ }
+ $(this).tooltip({
+ content: $(this).siblings('.htl-tooltip-content').html(),
+ items: 'span',
+ trigger: 'hover',
+ tooltipClass: 'htl-tooltip-popup',
+ open: function (event, ui) {
+ if (typeof (event.originalEvent) === 'undefined') {
+ return false;
+ }
+ var $id = $(ui.tooltip).attr('id');
+ if ($('div.ui-tooltip').not('#' + $id).length) {
+ return false;
+ }
+ },
+ close: function (event, ui) {
+ ui.tooltip.hover(function () {
+ $(this).stop(true).fadeTo(400, 1);
+ }, function () {
+ $(this).fadeOut('400', function () {
+ $(this).remove();
+ });
+ });
+ }
+ });
+ });
}
$(document).ready(function () {
- initPriceCalculationTooltip();
-});
+ initHtlTooltip();
+});
\ No newline at end of file
diff --git a/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js b/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js
index 7c2fa5f05..1ed468793 100644
--- a/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js
+++ b/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js
@@ -127,50 +127,26 @@ var ajaxCart = {
dateFormat: 'DD-MM-YYYY',
dateFormatFull: 'DD-MM-YYYY HH:mm:ss',
nb_total_products: 0,
- getSellingPreferenceChannels: function(sellingPreferenceType) {
- var channels = {
- with_room_type: false,
- with_hotel: false,
- standalone: false
- };
- switch (parseInt(sellingPreferenceType)) {
- case SELLING_PREFERENCE_WITH_ROOM_TYPE:
- channels.with_room_type = true;
- break;
- case SELLING_PREFERENCE_HOTEL_STANDALONE:
- channels.with_hotel = true;
- break;
- case SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE:
- channels.with_room_type = true;
- channels.with_hotel = true;
- break;
- case SELLING_PREFERENCE_STANDALONE:
- channels.standalone = true;
- break;
- case SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE:
- channels.with_hotel = true;
- channels.standalone = true;
- break;
- case SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE:
- channels.with_room_type = true;
- channels.standalone = true;
- break;
- case SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE:
- channels.with_room_type = true;
- channels.with_hotel = true;
- channels.standalone = true;
- break;
- }
- return channels;
- },
isSellableWithRoomType: function(sellingPreferenceType) {
- return this.getSellingPreferenceChannels(sellingPreferenceType).with_room_type;
+ return (sellingPreferenceType == SELLING_PREFERENCE_WITH_ROOM_TYPE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE
+ );
},
isSellableWithHotel: function(sellingPreferenceType) {
- return this.getSellingPreferenceChannels(sellingPreferenceType).with_hotel;
+ return (sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE
+ );
},
isSellableAsStandalone: function(sellingPreferenceType) {
- return this.getSellingPreferenceChannels(sellingPreferenceType).standalone;
+ return (sellingPreferenceType == SELLING_PREFERENCE_WITH_STANDALONE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE
+ || sellingPreferenceType == SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE
+ );
},
_overrideButtonsInThePage: function () {
//for every 'add' buttons...
diff --git a/themes/hotel-reservation-theme/js/order-confirmation.js b/themes/hotel-reservation-theme/js/order-confirmation.js
index d9b645df8..9a42bd1d3 100644
--- a/themes/hotel-reservation-theme/js/order-confirmation.js
+++ b/themes/hotel-reservation-theme/js/order-confirmation.js
@@ -49,7 +49,7 @@ $(document).ready(function(){
if (result.extra_demands) {
$('#rooms_extra_services').html('');
$('#rooms_extra_services').append(result.extra_demands);
- initPriceCalculationTooltip();
+ initHtlTooltip();
}
$.fancybox({
href: "#rooms_extra_services",
@@ -75,40 +75,5 @@ $(document).ready(function(){
});
});
- initPriceTooltip();
-});
-
-function initPriceTooltip() {
- if ($('.order-price-info').length) {
- $('.order-price-info').each(function () {
- $(this).tooltip({
- content: $(this).closest('dd').find('.price-info-container').html(),
- items: 'span',
- trigger: 'hover',
- tooltipClass: 'price-tootip',
- open: function (event, ui) {
- if (typeof (event.originalEvent) === 'undefined') {
- return false;
- }
-
- var $id = $(ui.tooltip).attr('id');
-
- // close any lingering tooltips
- if ($('div.ui-tooltip').not('#' + $id).length) {
- return false;
- }
- },
- close: function (event, ui) {
- ui.tooltip.hover(function () {
- $(this).stop(true).fadeTo(400, 1);
- },
- function () {
- $(this).fadeOut('400', function () {
- $(this).remove();
- });
- });
- }
- });
- });
- }
-}
\ No newline at end of file
+ initHtlTooltip();
+});
\ No newline at end of file
diff --git a/themes/hotel-reservation-theme/js/order-detail.js b/themes/hotel-reservation-theme/js/order-detail.js
index a0e1a9ac7..0e4d50f27 100644
--- a/themes/hotel-reservation-theme/js/order-detail.js
+++ b/themes/hotel-reservation-theme/js/order-detail.js
@@ -62,76 +62,7 @@ function sendOrderMessage() {
});
}
-function initPriceTooltip() {
- if ($('.order-price-info').length) {
- $('.order-price-info').each(function () {
- $(this).tooltip({
- content: $(this).closest('dd').find('.price-info-container').html(),
- items: 'span',
- trigger: 'hover',
- tooltipClass: 'price-tootip',
- open: function (event, ui) {
- if (typeof (event.originalEvent) === 'undefined') {
- return false;
- }
- var $id = $(ui.tooltip).attr('id');
-
- // close any lingering tooltips
- if ($('div.ui-tooltip').not('#' + $id).length) {
- return false;
- }
- },
- close: function (event, ui) {
- ui.tooltip.hover(function () {
- $(this).stop(true).fadeTo(400, 1);
- },
- function () {
- $(this).fadeOut('400', function () {
- $(this).remove();
- });
- });
- }
- });
- });
- }
-}
-
-// initialize tooltip for
-function initRefundDeniedTooltip() {
- if ($('.refund-denied-info').length) {
- $('.refund-denied-info').each(function () {
- $(this).tooltip({
- content: $(this).data('refund_denied_info'),
- items: 'i',
- trigger: 'hover',
- tooltipClass: 'refund-denied-tootip',
- open: function (event, ui) {
- if (typeof (event.originalEvent) === 'undefined') {
- return false;
- }
-
- var $id = $(ui.tooltip).attr('id');
-
- // close any lingering tooltips
- if ($('div.ui-tooltip').not('#' + $id).length) {
- return false;
- }
- },
- close: function (event, ui) {
- ui.tooltip.hover(function () {
- $(this).stop(true).fadeTo(400, 1);
- },
- function () {
- $(this).fadeOut('400', function () {
- $(this).remove();
- });
- });
- }
- });
- });
- }
-}
function initMap() {
$('.booking-hotel-map-container').each(function (i, element) {
@@ -362,7 +293,7 @@ $(document).on('click', '.btn-view-extra-services', function(e) {
if (result.extra_demands) {
$('#popup-view-extra-services').html('');
$('#popup-view-extra-services').append(result.extra_demands);
- initPriceCalculationTooltip();
+ initHtlTooltip();
$.fancybox.open({
href: '#popup-view-extra-services',
@@ -388,6 +319,5 @@ $(document).ready(function () {
sendOrderMessage();
});
- initPriceTooltip();
- initRefundDeniedTooltip();
+ initHtlTooltip();
});
diff --git a/themes/hotel-reservation-theme/js/order-opc.js b/themes/hotel-reservation-theme/js/order-opc.js
index 999f73c67..a1f51a07a 100644
--- a/themes/hotel-reservation-theme/js/order-opc.js
+++ b/themes/hotel-reservation-theme/js/order-opc.js
@@ -33,45 +33,6 @@ $(document).ready(function()
$(this).closest('.card').find('.step-edit').addClass('hidden');
});
- // room price details tooltip
- if ($('.room_price_detail_block .room-price-detail').length) {
- $('.room_price_detail_block .room-price-detail').each(function (i, element) {
- $(this).find('img').tooltip({
- content: $(this).closest('.price_block').find('.room-price-detail-container').html(),
- items: "span",
- trigger : 'hover',
- tooltipClass: "room-price-detail-tooltip",
- open: function(event, ui)
- {
- if (typeof(event.originalEvent) === 'undefined')
- {
- return false;
- }
-
- var $id = $(ui.tooltip).attr('id');
-
- if ($('div.ui-tooltip').not('#' + $id).length) {
- return false;
- }
- },
- close: function(event, ui)
- {
- ui.tooltip.hover(function()
- {
- $(this).stop(true).fadeTo(400, 1);
- },
- function()
- {
- $(this).fadeOut('400', function()
- {
- $(this).remove();
- });
- });
- }
- });
- });
- }
-
// BY WEBKUL
// FOR ADVANCED PAYMENT
var payment_type = $(".payment_type:checked").val();
@@ -705,7 +666,7 @@ $(document).ready(function()
if (result.extra_demands) {
$('#rooms_extra_services').html('');
$('#rooms_extra_services').append(result.extra_demands);
- initPriceCalculationTooltip();
+ initHtlTooltip();
}
$.fancybox({
href: "#rooms_extra_services",
diff --git a/themes/hotel-reservation-theme/js/product.js b/themes/hotel-reservation-theme/js/product.js
index c14bd9cff..62aa5a9c2 100644
--- a/themes/hotel-reservation-theme/js/product.js
+++ b/themes/hotel-reservation-theme/js/product.js
@@ -1171,7 +1171,7 @@ $(document).ready(function() {
triggerElement.hide();
}
}
- initPriceCalculationTooltip();
+ initHtlTooltip();
} else {
triggerElement.hide();
}
diff --git a/themes/hotel-reservation-theme/modules/blockcart/blockcart.tpl b/themes/hotel-reservation-theme/modules/blockcart/blockcart.tpl
index fecff84c9..75ce91bfc 100644
--- a/themes/hotel-reservation-theme/modules/blockcart/blockcart.tpl
+++ b/themes/hotel-reservation-theme/modules/blockcart/blockcart.tpl
@@ -404,12 +404,12 @@
{addJsDef ajax_allowed=$ajax_allowed|boolval}
{addJsDef hasDeliveryAddress=(isset($cart->id_address_delivery) && $cart->id_address_delivery)}
{addJsDef SELLING_PREFERENCE_WITH_ROOM_TYPE=Product::SELLING_PREFERENCE_WITH_ROOM_TYPE}
- {addJsDef SELLING_PREFERENCE_STANDALONE=Product::SELLING_PREFERENCE_STANDALONE}
- {addJsDef SELLING_PREFERENCE_HOTEL_STANDALONE=Product::SELLING_PREFERENCE_HOTEL_STANDALONE}
- {addJsDef SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE=Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE}
+ {addJsDef SELLING_PREFERENCE_WITH_STANDALONE=Product::SELLING_PREFERENCE_WITH_STANDALONE}
+ {addJsDef SELLING_PREFERENCE_WITH_HOTEL=Product::SELLING_PREFERENCE_WITH_HOTEL}
+ {addJsDef SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE=Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE}
{addJsDef SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE=Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE}
{addJsDef SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE=Product::SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE}
- {addJsDef SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE=Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE}
+ {addJsDef SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE=Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE}
{addJsDefL name=customizationIdMessage}{l s='Customization #' mod='blockcart' js=1}{/addJsDefL}
{addJsDefL name=removingLinkText}{l s='remove this product from my cart' mod='blockcart' js=1}{/addJsDefL}
diff --git a/themes/hotel-reservation-theme/order-confirmation.tpl b/themes/hotel-reservation-theme/order-confirmation.tpl
index 2297d556b..7459b9c69 100644
--- a/themes/hotel-reservation-theme/order-confirmation.tpl
+++ b/themes/hotel-reservation-theme/order-confirmation.tpl
@@ -159,41 +159,35 @@
{displayWtPriceWithCurrency price=($rm_v['amount_tax_excl'] + $rm_v['extra_demands_price_te'] + $rm_v['additional_services_price_te'] + $rm_v['additional_services_price_auto_add_te']) currency=$objOrderCurrency}
{/if}
{if (isset($rm_v['extra_demands']) && $rm_v['extra_demands']) || isset($rm_v['additional_services']) && $rm_v['additional_services']}
-
-
-
-