{** * 2010-2023 Webkul. * * NOTICE OF LICENSE * * All right is reserved, * Please go through LICENSE.txt file inside our module * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade this module to newer * versions in the future. If you wish to customize this module for your * needs please refer to CustomizationPolicy.txt file inside our module for more information. * * @author Webkul IN * @copyright 2010-2023 Webkul IN * @license LICENSE.txt *}
{if (isset($selectedRoomDemands) && $selectedRoomDemands) || (isset($roomTypeServiceProducts) && $roomTypeServiceProducts)}
{if isset($selectedRoomDemands) && $selectedRoomDemands}

{l s='Add below facilities to the rooms for better hotel experience'}

{assign var=roomCount value=1} {foreach $selectedRoomDemands as $key => $roomDemand}
{if isset($roomTypeDemands) && $roomTypeDemands} {foreach $roomTypeDemands as $idGlobalDemand => $demand}

{$demand['name']|escape:'html':'UTF-8'}

{if isset($demand['adv_option']) && $demand['adv_option']} {else} {/if}

{if isset($selected_adv_option) && isset($demand['adv_option'][$selected_adv_option]['price'])}{convertPrice price = $demand['adv_option'][$selected_adv_option]['price']|escape:'html':'UTF-8'}{else}{convertPrice price = $demand['price']|escape:'html':'UTF-8'}{/if}{if $demand['price_calc_method'] == HotelRoomTypeGlobalDemand::WK_PRICE_CALC_METHOD_EACH_DAY}{l s='/Night'}{/if}

{/foreach} {/if}
{assign var=roomCount value=$roomCount+1} {/foreach}
{/if} {if isset($roomTypeServiceProducts) && $roomTypeServiceProducts}

{l s='Add below services to the rooms for better hotel experience'}

{assign var=roomCount value=1} {foreach $cartRooms as $key => $cartRoom}
{if isset($roomTypeServiceProducts) && $roomTypeServiceProducts} {foreach $roomTypeServiceProducts as $product}
{if $product.available_for_order}

{/if}

{$product['name']|escape:'html':'UTF-8'}

{if $product.allow_multiple_quantity}
{/if}
{if ($product.show_price && !isset($restricted_country_mode)) || isset($groups)} {if !$priceDisplay}{convertPrice price=$product.price_tax_incl}{else}{convertPrice price=$product.price_tax_exc}{/if}{if $product.price_calculation_method == Product::PRICE_CALCULATION_METHOD_PER_DAY}{l s='/Night'}{/if} {/if}
{/foreach} {/if}
{assign var=roomCount value=$roomCount+1} {/foreach}
{/if}
{/if}