[{$smarty.block.parent}] [{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] [{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] [{if $blUseSuggestSearch}] [{strip}] [{block name="d3_extsearch_js__suggest"}] [{block name="d3_extsearch_js__suggest_jsfile"}] [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch.min.js')}] [{/block}] [{block name="d3_extsearch_js__suggest_jssuggestcall"}] [{assign var="sCharSet" value="charset"|oxmultilangassign}] [{capture name="d3script"}][{strip}] $(document).ready(function () { try { $('#searchParam').d3extsearchsuggest({ sWaitMessage: '[{$sD3QSWaitMessage|strip|oxescape:"htmlall":$sCharSet}]', sParentThemeId: '[{$oModCfg_d3_extsearch->getReferenceThemeId()}]', sRequestUrl: '[{$oViewConf->getModuleUrl('d3_extsearch')|cat:"public/d3_extsearch_response.php?shp="|cat:$oViewConf->getActiveShopId()|cat:"&"}]' }); } catch (e) { [{* don't use console.error because of undefined break in PhantomJS while generating critical css *}] console.log(e.message); } }); [{/strip}][{/capture}] [{oxscript add=$smarty.capture.d3script}] [{/block}] [{if !$blD3EmptySearch}] [{assign var="sSBDefault" value="D3_EXTSEARCH_FIELD_NOTICE"|oxmultilangassign}] [{oxscript add="var sD3SearchBoxDefault = '"|cat:$sSBDefault|cat:"';"}] [{else}] [{oxscript add="var sD3SearchBoxDefault = '';"}] [{/if}] [{/block}] [{/strip}] [{/if}] [{if $blD3ShowIAS}] [{strip}] [{block name="d3_extsearch_js__ias"}] [{block name="d3_extsearch_js__ias_jsfile"}] [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch_ias.min.js')}] [{/block}] [{block name="d3_extsearch_js__suggest_jsiascall"}] [{assign var="sCharSet" value="charset"|oxmultilangassign}] [{capture name="d3script"}][{strip}] $(document).ready(function () { $(document).d3extsearchias(); }); [{/strip}][{/capture}] [{oxscript add=$smarty.capture.d3script}] [{/block}]
X
[{$oViewConf->getHiddenSid()}]
[{/block}] [{/strip}] [{/if}] [{if $blD3ShowSearchPopup}] [{block name="d3_extsearch_js__popup"}]
[{oxmultilang ident="D3_EXTSEARCH_SEARCHINPROGRESS"}]
[{/block}] [{else}] [{block name="d3_extsearch_js__nopopup"}] [{/block}] [{/if}] [{/if}]