- {assign var="current_feature_name" value=""}
- {assign var="current_feature_values" value=""}
- {assign var="current_feature_id" value=0}
- {assign var="current_feature_logo_type" value=""}
- {assign var="current_feature_logo" value=""}
- {foreach from=$room_type_features item=feature}
- {if $feature.name != $current_feature_name}
- {if $current_feature_name != ""}
-
-
- {if $current_feature_logo_type == 'icon' && $current_feature_logo}
{else}

{/if}
-
{$current_feature_name|escape:'html':'UTF-8'}
-
-
{$current_feature_values|escape:'html':'UTF-8'}
-
- {/if}
- {assign var="current_feature_name" value=$feature.name}
- {assign var="current_feature_id" value=$feature.id_feature}
- {assign var="current_feature_logo_type" value=$feature.logo_type}
- {assign var="current_feature_logo" value=$feature.logo}
- {assign var="current_feature_values" value=$feature.value}
- {else}
- {assign var="current_feature_values" value="`$current_feature_values`, `$feature.value`"}
- {/if}
- {if $feature@last}
-
+ {assign var="current_feature_name" value=""}
+ {assign var="current_feature_values" value=""}
+ {assign var="current_feature_id" value=0}
+ {assign var="current_feature_logo_type" value=""}
+ {assign var="current_feature_logo" value=""}
+ {assign var="current_feature_logo_image" value=""}
+ {foreach from=$room_type_features item=feature}
+ {if $feature.name != $current_feature_name}
+ {if $current_feature_name != ""}
+
- {if $current_feature_logo_type == 'icon' && $current_feature_logo}
{else}

{/if}
+ {if $current_feature_logo_type == 'icon' && $current_feature_logo}
{else}

{/if}
{$current_feature_name|escape:'html':'UTF-8'}
{$current_feature_values|escape:'html':'UTF-8'}
{/if}
- {/foreach}
-
+ {assign var="current_feature_name" value=$feature.name}
+ {assign var="current_feature_id" value=$feature.id_feature}
+ {assign var="current_feature_logo_type" value=$feature.logo_type}
+ {assign var="current_feature_logo" value=$feature.logo}
+ {assign var="current_feature_logo_image" value=$feature.logo_image}
+ {assign var="current_feature_values" value=$feature.value}
+ {else}
+ {assign var="current_feature_values" value="`$current_feature_values`, `$feature.value`"}
+ {/if}
+ {if $feature@last}
+
+
+ {if $current_feature_logo_type == 'icon' && $current_feature_logo}
{else}

{/if}
+
{$current_feature_name|escape:'html':'UTF-8'}
+
+
{$current_feature_values|escape:'html':'UTF-8'}
+
+ {/if}
+ {/foreach}
{/if}
{/block}
{* Block for booking products *}
@@ -340,7 +340,7 @@
{if $amenity.logo_type == 'icon' && $amenity.logo}
{elseif $amenity.logo_type == 'image' && $amenity.logo}
-

@@ -364,7 +364,7 @@
{if $amenity.logo_type == 'icon' && $amenity.logo}
{elseif $amenity.logo_type == 'image' && $amenity.logo}
-

diff --git a/themes/hotel-reservation-theme/shopping-cart-detail.tpl b/themes/hotel-reservation-theme/shopping-cart-detail.tpl
index 2923944f0..8afbd52cf 100644
--- a/themes/hotel-reservation-theme/shopping-cart-detail.tpl
+++ b/themes/hotel-reservation-theme/shopping-cart-detail.tpl
@@ -79,7 +79,7 @@
{/block}
{block name='shopping_cart_room_type_features'}
- {if isset($data_v['hotel_info']['room_features'])}
+ {if !empty($data_v['hotel_info']['room_features'])}
{foreach $data_v['hotel_info']['room_features'] as $feature}