{* * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if isset($blockcart_top) && $blockcart_top}
{/if}
{$total_products_in_cart} {if $cart_qties > 0} {if $priceDisplay == 1} {assign var='blockcart_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(false, $blockcart_cart_flag)} {else} {assign var='blockcart_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(true, $blockcart_cart_flag)} {/if} {/if} 0 {if $ajax_allowed && isset($blockcart_top) && !$blockcart_top}     {/if} {if !$PS_CATALOG_MODE}
{/if}
{if isset($blockcart_top) && $blockcart_top}
{/if} {counter name=active_overlay assign=active_overlay} {if !$PS_CATALOG_MODE && $active_overlay == 1}

{l s='Room successfully added to your cart' mod='blockcart'}

{l s='Item successfully added to your cart' mod='blockcart'}

{l s='Time Duration' mod='blockcart'}  - 
{if isset($occupancy_required_for_booking) && $occupancy_required_for_booking}{l s='Room occupancy' mod='blockcart'}{else}{l s='Rooms quantity added' mod='blockcart'}{/if}  -  {l s='Quantity' mod='blockcart'}  - 
{l s='Room type cost' mod='blockcart'}  -  {l s='Total' mod='blockcart'}  - 

{l s='There are [1]%d[/1] item(s) in your cart.' mod='blockcart' sprintf=[$cart_qties] tags=['']} {l s='1 item in your cart.' mod='blockcart'}

{l s='Total Rooms Cost in cart' mod='blockcart'} {if $display_tax_label} {if $priceDisplay == 1} {l s='(tax excl.)' mod='blockcart'} {else} {l s='(tax incl.)' mod='blockcart'} {/if} {/if} {if $cart_qties > 0} {convertPrice price=$cart->getOrderTotal(false, Cart::ONLY_PRODUCTS)} {/if}
{if isset($total_convenience_fee)}
{l s='Convenience Fees' mod='blockcart'} {convertPrice price=$total_convenience_fee}
{/if} {if $show_tax && $use_tax}
{l s='Tax' mod='blockcart'} {$tax_cost}
{/if}
{l s='Total' mod='blockcart'} {if $display_tax_label} {if $priceDisplay == 1} {l s='(tax excl.)' mod='blockcart'} {else} {l s='(tax incl.)' mod='blockcart'} {/if} {/if} {if $cart_qties > 0} {if $priceDisplay == 1} {convertPrice price=$cart->getOrderTotal(false)} {else} {convertPrice price=$cart->getOrderTotal(true)} {/if} {/if}
{l s='Continue browsing' mod='blockcart'} {l s='Proceed to checkout' mod='blockcart'}
{/if} {strip} {addJsDefL name=someErrorCondition}{l s='Some Error occured.Please try again.' mod='blockcart' js=1}{/addJsDefL} {addJsDef CUSTOMIZE_TEXTFIELD=$CUSTOMIZE_TEXTFIELD} {addJsDef img_dir=$img_dir|escape:'quotes':'UTF-8'} {addJsDef generated_date=$smarty.now|intval} {addJsDef ajax_allowed=$ajax_allowed|boolval} {addJsDef hasDeliveryAddress=(isset($cart->id_address_delivery) && $cart->id_address_delivery)} {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} {addJsDefL name=freeShippingTranslation}{l s='Free shipping!' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=freeProductTranslation}{l s='Free!' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=delete_txt}{l s='Delete' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=toBeDetermined}{l s='To be determined' mod='blockcart' js=1}{/addJsDefL} {/strip} {* MODULE Block cart ################################################################### By webkul to send needed variable in ajax-cart.js ################################################################### *} {addJsDef module_dir=$module_dir} {addJsDef currency_sign = $currency->sign} {addJsDef room_warning_num = $warning_num} {addJsDef currency_format = $currency->format} {addJsDef currency_blank = $currency->blank} {addJsDefL name=adults_txt}{l s='Adults' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=children_txt}{l s='Children' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=price_txt}{l s='Price' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=total_qty_txt}{l s='Total Qty.' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=qty_txt}{l s='Qty' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=duration_txt}{l s='Duration' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=capacity_txt}{l s='Capacity' mod='blockcart' js=1}{/addJsDefL} {addJsDefL name=remove_rm_title}{l s='Remove this room from my cart' mod='blockcart' js=1}{/addJsDefL} {addJsDef rm_avail_process_lnk = $link->getModuleLink('blockcart', 'checkroomavailabilityajaxprocess')} {addJsDef pagename = $current_page} {/strip} {* ################################################################### End ################################################################### *}