Files
kalsport.pl/modules/appagebuilder/views/templates/hook/header.tpl
2024-11-05 12:22:50 +01:00

48 lines
1.5 KiB
Smarty

{*
* @Module Name: AP Page Builder
* @Website: apollotheme.com - prestashop template provider
* @author Apollotheme <apollotheme@gmail.com>
* @copyright Apollotheme
* @description: ApPageBuilder is module help you can build content for your shop
*}
<!-- @file modules\appagebuilder\views\templates\hook\header -->
<script>
/**
* List functions will run when document.ready()
*/
var ap_list_functions = [];
/**
* List functions will run when window.load()
*/
var ap_list_functions_loaded = [];
/**
* List functions will run when document.ready() for theme
*/
var products_list_functions = [];
</script>
{if isset($ajax_enable) && $ajax_enable}
<script type='text/javascript'>
var leoOption = {
category_qty:{if $category_qty}{$category_qty|escape:'html':'UTF-8'}{else}0{/if},
product_list_image:{if $product_list_image}{$product_list_image|escape:'html':'UTF-8'}{else}0{/if},
product_one_img:{if $product_one_img}{$product_one_img|escape:'html':'UTF-8'}{else}0{/if},
productCdown: {if $productCdown}{$productCdown|escape:'html':'UTF-8'}{else}0{/if},
productColor: {if $productColor}{$productColor|escape:'html':'UTF-8'}{else}0{/if},
homeWidth: {if $homeSize}{$homeSize.width|escape:'html':'UTF-8'}{else}0{/if},
homeheight: {if $homeSize}{$homeSize.height|escape:'html':'UTF-8'}{else}0{/if},
}
ap_list_functions.push(function(){
if (typeof $.LeoCustomAjax !== "undefined" && $.isFunction($.LeoCustomAjax)) {
var leoCustomAjax = new $.LeoCustomAjax();
leoCustomAjax.processAjax();
}
});
</script>
{/if}