Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/9c/53/a0/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/9c/53
<?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-prices.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_659436f8e607e0_13666947',
'has_nocache_code' => false,
'file_dependency' =>
array (
'9c53a0740149b76999467a1a42dd50b25eab8b20' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/product-prices.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_659436f8e607e0_13666947 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<?php $_smarty_tpl->_assignInScope('currency_code', Context::getContext()->currency->iso_code);
if ($_smarty_tpl->tpl_vars['product']->value['show_price']) {?>
<div class="product-prices">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1096845884659436f8e4ad83_54015754', 'product_price');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1537614548659436f8e53cc3_79590328', 'product_discount');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1740481406659436f8e57d35_60712585', 'product_without_taxes');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2138826714659436f8e59929_23564634', 'product_pack_price');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1165380850659436f8e5afd9_14655920', 'product_ecotax');
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"weight",'hook_origin'=>'product_sheet'),$_smarty_tpl ) );?>
<div class="tax-shipping-delivery-label">
<?php if ($_smarty_tpl->tpl_vars['configuration']->value['display_taxes_label']) {?>
<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['labels']['tax_long'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"price"),$_smarty_tpl ) );?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"after_price"),$_smarty_tpl ) );?>
</div>
</div>
<?php }
}
/* {block 'product_unit_price'} */
class Block_1365790461659436f8e4f571_71627027 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['displayUnitPrice']->value) {?>
<p class="product-unit-price sub"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(%unit_price%)','d'=>'Shop.Theme.Catalog','sprintf'=>array('%unit_price%'=>$_smarty_tpl->tpl_vars['product']->value['unit_price_full'])),$_smarty_tpl ) );?>
</p>
<?php }?>
<?php
}
}
/* {/block 'product_unit_price'} */
/* {block 'product_price'} */
class Block_1096845884659436f8e4ad83_54015754 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_price' =>
array (
0 => 'Block_1096845884659436f8e4ad83_54015754',
),
'product_unit_price' =>
array (
0 => 'Block_1365790461659436f8e4f571_71627027',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div
class="product-price h5 <?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>has-discount<?php }?>"
itemprop="offers"
itemscope
itemtype="https://schema.org/Offer"
>
<link itemprop="availability" href="https://schema.org/InStock"/>
<meta itemprop="priceCurrency" content="<?php if ((isset($_smarty_tpl->tpl_vars['currency_code']->value))) {
echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['currency_code']->value, ENT_QUOTES, 'UTF-8');
}?>">
<meta itemprop="url" content="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8');?>
">
<div class="current-price">
<span itemprop="price" content="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['price_amount'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1365790461659436f8e4f571_71627027', 'product_unit_price', $this->tplIndex);
?>
</div>
<?php
}
}
/* {/block 'product_price'} */
/* {block 'product_discount'} */
class Block_1537614548659436f8e53cc3_79590328 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_discount' =>
array (
0 => 'Block_1537614548659436f8e53cc3_79590328',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
<div class="product-discount">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"old_price"),$_smarty_tpl ) );?>
<span class="regular-price"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['regular_price'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php
}
}
/* {/block 'product_discount'} */
/* {block 'product_without_taxes'} */
class Block_1740481406659436f8e57d35_60712585 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_without_taxes' =>
array (
0 => 'Block_1740481406659436f8e57d35_60712585',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['priceDisplay']->value == 2) {?>
<p class="product-without-taxes"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%price% tax excl.','d'=>'Shop.Theme.Catalog','sprintf'=>array('%price%'=>$_smarty_tpl->tpl_vars['product']->value['price_tax_exc'])),$_smarty_tpl ) );?>
</p>
<?php }?>
<?php
}
}
/* {/block 'product_without_taxes'} */
/* {block 'product_pack_price'} */
class Block_2138826714659436f8e59929_23564634 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_pack_price' =>
array (
0 => 'Block_2138826714659436f8e59929_23564634',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['displayPackPrice']->value) {?>
<p class="product-pack-price"><span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Instead of %price%','d'=>'Shop.Theme.Catalog','sprintf'=>array('%price%'=>$_smarty_tpl->tpl_vars['noPackPrice']->value)),$_smarty_tpl ) );?>
</span></p>
<?php }?>
<?php
}
}
/* {/block 'product_pack_price'} */
/* {block 'product_ecotax'} */
class Block_1165380850659436f8e5afd9_14655920 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_ecotax' =>
array (
0 => 'Block_1165380850659436f8e5afd9_14655920',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['ecotax']['amount'] > 0) {?>
<p class="price-ecotax"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Including %amount% for ecotax','d'=>'Shop.Theme.Catalog','sprintf'=>array('%amount%'=>$_smarty_tpl->tpl_vars['product']->value['ecotax']['value'])),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(not impacted by the discount)','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
<?php }?>
</p>
<?php }?>
<?php
}
}
/* {/block 'product_ecotax'} */
}