{else}
diff --git a/modules/wkhotelfilterblock/views/css/wkhotelfilterblock.css b/modules/wkhotelfilterblock/views/css/wkhotelfilterblock.css
index b0c3a78be..5c2e5cdbd 100644
--- a/modules/wkhotelfilterblock/views/css/wkhotelfilterblock.css
+++ b/modules/wkhotelfilterblock/views/css/wkhotelfilterblock.css
@@ -61,6 +61,22 @@
margin-bottom: 5px;
}
+.layered_filt_category
+{
+ margin-bottom: 10px;
+}
+
+.layered_filt_category_name
+{
+ margin-bottom: 5px;
+}
+
+.layered_filt_category_children
+{
+ padding-left: 15px;
+ border-left: 1px solid #d6d4d4;
+}
+
.filters_name, .price_filter_subcont span
{
font-size: 16px;
diff --git a/modules/wkhotelfilterblock/views/js/wkhotelfilterblock.js b/modules/wkhotelfilterblock/views/js/wkhotelfilterblock.js
index e88cc649d..bfa546c65 100644
--- a/modules/wkhotelfilterblock/views/js/wkhotelfilterblock.js
+++ b/modules/wkhotelfilterblock/views/js/wkhotelfilterblock.js
@@ -26,7 +26,7 @@ $(document).ready(function()
{
var filter_wrapper = $(this).parents(".layered_filter_heading").siblings(".lf_sub_cont");
var make_diff = filter_wrapper.children("div"); //use to make difference between checkbox and price slider
- if (make_diff.hasClass("layered_filt")) // for checkbox
+ if (make_diff.hasClass("layered_filt") || make_diff.hasClass("layered_filt_category")) // for checkbox (flat or tree)
{
var selected_filter = filter_wrapper.find("div.layered_filt input.filter:checked").prop("checked", false);
selected_filter.parent("span.checked").removeClass("checked");
@@ -142,7 +142,15 @@ $(document).ready(function()
if ($(this).is(':checked'))
{
var temp_type = $(this).attr('data-type');
- if (typeof filter[temp_type] != 'undefined')
+ var feature_group = $(this).attr('data-feature-group');
+ if (typeof feature_group != 'undefined')
+ {
+ // features: values of one feature are grouped (OR inside, AND between features)
+ filter[temp_type] = filter[temp_type] || {};
+ filter[temp_type][feature_group] = filter[temp_type][feature_group] || [];
+ filter[temp_type][feature_group].push($(this).val());
+ }
+ else if (typeof filter[temp_type] != 'undefined')
{
filter[temp_type].push($(this).val());
}
diff --git a/modules/wkhotelfilterblock/views/templates/hook/htlfilterblock.tpl b/modules/wkhotelfilterblock/views/templates/hook/htlfilterblock.tpl
index 7f72fdca6..0fab3ecf3 100644
--- a/modules/wkhotelfilterblock/views/templates/hook/htlfilterblock.tpl
+++ b/modules/wkhotelfilterblock/views/templates/hook/htlfilterblock.tpl
@@ -23,6 +23,29 @@
{block name='room_types_filters_block'}
{l s='qty'}: {$product['quantity']}
{/if}
- {foreach from=$room_v['feature'] key=feat_k item=feat_v}
+ {foreach from=$room_v['featured_amenities'] key=feat_k item=feat_v}
{if $feat_v.logo_type == 'icon' && $feat_v.logo}
{elseif $feat_v.logo_type == 'image' && $feat_v.logo}
{/if}
{/foreach}
diff --git a/themes/hotel-reservation-theme/css/category.css b/themes/hotel-reservation-theme/css/category.css
index 93ac147ef..d0ea2e9e3 100644
--- a/themes/hotel-reservation-theme/css/category.css
+++ b/themes/hotel-reservation-theme/css/category.css
@@ -83,9 +83,10 @@
color: #555555;
font-size: 14px;
font-weight: 400;
- margin-bottom: 15px;
}
-
+.room_featured_features, .room_features_cont{
+ margin-top: 10px;
+}
.rm_desc p
{
display: inline;
@@ -108,9 +109,6 @@
p.capa_txt {
margin-bottom: 15px;
}
-.visible-md .capa_txt {
- padding-left: 15px;
-}
.rm_review_cont
{
@@ -155,10 +153,31 @@ p.capa_txt {
.rm_amen
{
- width: 20px;
+ color: #555555;
+ width: 18px;
display: inline-block;
margin-right: 10px;
margin-bottom: 5px;
+ font-size: 16px;
+ color: #555555;
+}
+
+.room_featured_feature
+{
+ display: inline-block;
+ margin: 0 10px 10px 0;
+ color: #555;
+}
+.room_featured_feature i{
+
+ font-size: 16px;
+ color: #555555;
+}
+
+.room_featured_feature img
+{
+ max-height: 20px;
+ max-width: 20px;
}
.rm_price_val
@@ -258,7 +277,6 @@ p.capa_txt {
left: unset;
}
.room_features_cont > div {
- min-height: 47px;
display: flex;
flex-wrap: wrap;
align-items: center;
diff --git a/themes/hotel-reservation-theme/css/order-opc.css b/themes/hotel-reservation-theme/css/order-opc.css
index 573f07c24..f3f8fb381 100644
--- a/themes/hotel-reservation-theme/css/order-opc.css
+++ b/themes/hotel-reservation-theme/css/order-opc.css
@@ -200,15 +200,38 @@
margin-bottom: 5px;
}
.order-detail-content span.room-type-feature {
- white-space: nowrap;
- line-height: 35px;
+ display: inline-block;
+ max-width: 100%;
+ line-height: 24px;
background-color: #eee;
- border-radius: 10px;
- margin-right: 10px;
- padding: 3px 10px 6px 0px;
- font-size: 14px;
+ border-radius: 10px 10px 10px 11px;
+ margin: 0 10px 10px 0;
+ padding: 0px 8px 0px 0px;
+ font-size: 12px;
color: #555555;
}
+.room-type-feature i,
+.room-type-feature img {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 24px;
+ height: 24px;
+ box-sizing: border-box;
+ border: 1px solid #000000;
+ border-radius: 50%;
+ background-color: #ffffff;
+ color: #000000;
+ vertical-align: middle;
+ margin-right: 5px;
+}
+.room-type-feature i {
+ font-size: 12px;
+ color: #555555;
+}
+.room-type-feature img {
+ padding: 3px;
+}
.order-detail-content .room_duration_block_head {
font-size: 12px;
color: #777777;
diff --git a/themes/hotel-reservation-theme/css/product.css b/themes/hotel-reservation-theme/css/product.css
index 1d6f56ecb..ae9d789e8 100644
--- a/themes/hotel-reservation-theme/css/product.css
+++ b/themes/hotel-reservation-theme/css/product.css
@@ -1294,14 +1294,13 @@ Quick View Styles
.room_info_content.row .col-sm-4 .amenity-name {
white-space: nowrap;
overflow: hidden;}
-.room_feature_group {
- margin-bottom: 15px;}
.room_feature_group .room_info_heading {
display: flex;
align-items: center;
gap: 5px;
margin-bottom: 3px;}
-
+.room_info_heading i {
+ font-size: 16px;}
.product_wrapper .form-control {
background-color: transparent!important;
border: 1px solid #999999;
@@ -1442,6 +1441,24 @@ Quick View Styles
color: #505050;
}
+/* featured amenities (room type + hotel) */
+.featured_amenities .featured_amenity {
+ display: inline-block;
+ margin: 0 20px 8px 0;
+}
+.featured_amenities .featured_amenity img {
+ max-height: 20px;
+ max-width: 20px;
+}
+
+/* font icons use the same color as the amenity/feature jpg images */
+.featured_amenities .featured_amenity i,
+.info_margin_div .col-sm-4 > i,
+.room_info_heading i {
+ color: #555555;
+}
+/* end */
+
/* service popup design */
.services-info-tooltip-cont {
min-width: 240px;
@@ -1471,6 +1488,18 @@ Quick View Styles
flex-wrap: wrap;
justify-content: space-between;
}
+.extra-service-panel .services-list .services-list-row {
+ align-items: center;
+}
+.extra-service-panel .services-list .services-list-row .service-price-action {
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
+ gap: 10px;
+}
+.extra-service-panel .services-list .services-list-row .service-price-action p {
+ margin: 0;
+}
.extra-service-panel .summary-row .service_price {
font-weight: 700;
}
diff --git a/themes/hotel-reservation-theme/product.tpl b/themes/hotel-reservation-theme/product.tpl
index 4a1b2ff4a..cd9a33c9b 100644
--- a/themes/hotel-reservation-theme/product.tpl
+++ b/themes/hotel-reservation-theme/product.tpl
@@ -261,40 +261,69 @@
- {$current_feature_name|escape:'html':'UTF-8'}
-
+ {if $current_feature_logo_type == 'icon' && $current_feature_logo}{else}
@@ -331,11 +360,11 @@
diff --git a/themes/hotel-reservation-theme/shopping-cart-detail.tpl b/themes/hotel-reservation-theme/shopping-cart-detail.tpl
index a185db778..ef6c6e4ae 100644
--- a/themes/hotel-reservation-theme/shopping-cart-detail.tpl
+++ b/themes/hotel-reservation-theme/shopping-cart-detail.tpl
@@ -79,11 +79,16 @@
{/block}