Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/7c/35/5f/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/7c/35
<?php
/* Smarty version 4.3.1, created on 2024-01-02 17:16:56
from '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-details.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_659436f8ef03d2_51533300',
'has_nocache_code' => false,
'file_dependency' =>
array (
'7c355fff0d2aeadb25372597d55bd3ac37ed0baf' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-details.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_659436f8ef03d2_51533300 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div class="tab-pane fade<?php if (!Module::isEnabled('anproductextratabs') && !$_smarty_tpl->tpl_vars['product']->value['description']) {?> in active<?php }?>"
id="product-details"
data-product="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( $_smarty_tpl->tpl_vars['product']->value['embedded_attributes'] )), ENT_QUOTES, 'UTF-8');?>
"
role="tabpanel"
>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1390834993659436f8edf9a1_30274544', 'product_reference');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_115082970659436f8ee44a2_10477519', 'product_quantities');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1830148835659436f8ee6473_73040327', 'product_availability_date');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1653738940659436f8ee7e25_45180077', 'product_out_of_stock');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1112102262659436f8ee8b45_31164172', 'product_features');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1017247761659436f8eeba12_06535234', 'product_specific_references');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_697093277659436f8eee322_40969854', 'product_condition');
?>
</div>
<?php }
/* {block 'product_reference'} */
class Block_1390834993659436f8edf9a1_30274544 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_reference' =>
array (
0 => 'Block_1390834993659436f8edf9a1_30274544',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ((isset($_smarty_tpl->tpl_vars['product_manufacturer']->value->id))) {?>
<div class="product-manufacturer">
<?php if ((isset($_smarty_tpl->tpl_vars['manufacturer_image_url']->value))) {?>
<a href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product_brand_url']->value, ENT_QUOTES, 'UTF-8');?>
">
<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');?>
">
</a>
<?php } else { ?>
<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>
<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>
</span>
<?php }?>
</div>
<?php }?>
<?php if ((isset($_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
}
}
/* {/block 'product_reference'} */
/* {block 'product_quantities'} */
class Block_115082970659436f8ee44a2_10477519 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_quantities' =>
array (
0 => 'Block_115082970659436f8ee44a2_10477519',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['show_quantities']) {?>
<div class="product-quantities">
<label class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'In stock','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</label>
<span><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['quantity_label'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php
}
}
/* {/block 'product_quantities'} */
/* {block 'product_availability_date'} */
class Block_1830148835659436f8ee6473_73040327 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_availability_date' =>
array (
0 => 'Block_1830148835659436f8ee6473_73040327',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['availability_date']) {?>
<div class="product-availability-date">
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Availability date:','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</label>
<span><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['availability_date'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php
}
}
/* {/block 'product_availability_date'} */
/* {block 'product_out_of_stock'} */
class Block_1653738940659436f8ee7e25_45180077 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_out_of_stock' =>
array (
0 => 'Block_1653738940659436f8ee7e25_45180077',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="product-out-of-stock">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'actionProductOutOfStock','product'=>$_smarty_tpl->tpl_vars['product']->value),$_smarty_tpl ) );?>
</div>
<?php
}
}
/* {/block 'product_out_of_stock'} */
/* {block 'product_features'} */
class Block_1112102262659436f8ee8b45_31164172 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_features' =>
array (
0 => 'Block_1112102262659436f8ee8b45_31164172',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['features']) {?>
<section class="product-features">
<h3 class="h6"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Data sheet','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</h3>
<dl class="data-sheet">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['features'], 'feature');
$_smarty_tpl->tpl_vars['feature']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['feature']->value) {
$_smarty_tpl->tpl_vars['feature']->do_else = false;
?>
<dt class="name"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['feature']->value['name'], ENT_QUOTES, 'UTF-8');?>
</dt>
<dd class="value"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['feature']->value['value'], ENT_QUOTES, 'UTF-8');?>
</dd>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</dl>
</section>
<?php }?>
<?php
}
}
/* {/block 'product_features'} */
/* {block 'product_specific_references'} */
class Block_1017247761659436f8eeba12_06535234 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_specific_references' =>
array (
0 => 'Block_1017247761659436f8eeba12_06535234',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ((isset($_smarty_tpl->tpl_vars['product']->value['specific_references']))) {?>
<section class="product-features">
<h3 class="h6"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Specific References','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</h3>
<dl class="data-sheet">
<?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;
?>
<dt class="name"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['key']->value, ENT_QUOTES, 'UTF-8');?>
</dt>
<dd class="value"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['reference']->value, ENT_QUOTES, 'UTF-8');?>
</dd>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</dl>
</section>
<?php }?>
<?php
}
}
/* {/block 'product_specific_references'} */
/* {block 'product_condition'} */
class Block_697093277659436f8eee322_40969854 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_condition' =>
array (
0 => 'Block_697093277659436f8eee322_40969854',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['condition']) {?>
<div class="product-condition">
<label class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Condition','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</label>
<link itemprop="itemCondition" href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['condition']['schema_url'], ENT_QUOTES, 'UTF-8');?>
"/>
<span><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['condition']['label'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php
}
}
/* {/block 'product_condition'} */
}