Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/bd/3f/c1/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/bd/3f
<?php
/* Smarty version 4.3.1, created on 2024-01-02 17:16:57
from '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-additional-info.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_659436f902d092_57466657',
'has_nocache_code' => false,
'file_dependency' =>
array (
'bd3fc1c8bb88027f87e8d09b12c598893601d31c' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-additional-info.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_659436f902d092_57466657 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<?php $_smarty_tpl->_assignInScope('prod_ean', 1);?>
<div class="product-additional-info">
<div class="product-details-info-wrapper">
<div class="product-details-info">
<?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('productinfo_reference') == 1) {?>
<?php if ((isset($_smarty_tpl->tpl_vars['product']->value['reference_to_display'])) && ($_smarty_tpl->tpl_vars['product']->value['reference_to_display'] != '')) {?>
<div class="product-reference">
<label class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reference','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
: </label>
<span itemprop="sku"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['reference_to_display'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php }?>
<?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('productinfo_brand') != 'hide') {?>
<?php if ((isset($_smarty_tpl->tpl_vars['product_manufacturer']->value->id))) {?>
<div class="product-manufacturer">
<?php if (Module::getInstanceByName('an_theme')->getParam('productinfo_brand') == 'image') {?>
<?php if ((isset($_smarty_tpl->tpl_vars['manufacturer_image_url']->value))) {?>
<?php if ((isset($_smarty_tpl->tpl_vars['product_brand_url']->value))) {?>
<a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product_brand_url']->value, ENT_QUOTES, 'UTF-8');?>
">
<?php }?>
<img src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['manufacturer_image_url']->value, ENT_QUOTES, 'UTF-8');?>
" class="img img-thumbnail manufacturer-logo" alt="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product_manufacturer']->value->name, ENT_QUOTES, 'UTF-8');?>
">
<?php if ((isset($_smarty_tpl->tpl_vars['product_brand_url']->value))) {?>
</a>
<?php }?>
<?php }?>
<?php }?>
<?php if (Module::getInstanceByName('an_theme')->getParam('productinfo_brand') == 'title') {?>
<label class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Brand','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
: </label>
<span>
<?php if ((isset($_smarty_tpl->tpl_vars['product_brand_url']->value))) {?>
<a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product_brand_url']->value, ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product_manufacturer']->value->name, ENT_QUOTES, 'UTF-8');?>
</a>
<?php } else { ?>
<span><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product_manufacturer']->value->name, ENT_QUOTES, 'UTF-8');?>
</span>
<?php }?>
</span>
<?php }?>
</div>
<?php }?>
<?php }?>
<?php if (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('productinfo_ean13') == 1) {?>
<?php if ((isset($_smarty_tpl->tpl_vars['product']->value['specific_references']))) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['specific_references'], 'reference', false, 'key');
$_smarty_tpl->tpl_vars['reference']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['reference']->value) {
$_smarty_tpl->tpl_vars['reference']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['key']->value == 'ean13') {?>
<?php $_smarty_tpl->_assignInScope('prod_ean', 0);?>
<div class="product-ean13">
<label class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'EAN13','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
:</label>
<span itemprop="ean13"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['reference']->value, ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ((isset($_smarty_tpl->tpl_vars['product']->value->ean13)) && $_smarty_tpl->tpl_vars['product']->value->ean13 != '' && $_smarty_tpl->tpl_vars['prod_ean']->value) {?>
<div class="product-ean13">
<label class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'EAN13','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
:</label>
<span itemprop="ean13"><?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['product']->value->ean13,'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php }?>
</div>
</div>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_459267699659436f902ad58_87215088', 'product_description_short');
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displaySizeGuide','product'=>$_smarty_tpl->tpl_vars['product']->value),$_smarty_tpl ) );?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductAdditionalInfo','product'=>$_smarty_tpl->tpl_vars['product']->value),$_smarty_tpl ) );?>
</div><?php }
/* {block 'product_description_short'} */
class Block_459267699659436f902ad58_87215088 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_description_short' =>
array (
0 => 'Block_459267699659436f902ad58_87215088',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="product-description-short-<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['id'], ENT_QUOTES, 'UTF-8');?>
" class="productblock-description" itemprop="description"><?php echo $_smarty_tpl->tpl_vars['product']->value['description_short'];?>
</div>
<?php
}
}
/* {/block 'product_description_short'} */
}