var/cache/dev/smarty/compile/aa14d3b7f2ad433801776721baf9a8416c643915_0.file.addedToCart.html.php line 62
<?php
/* Smarty version 4.1.1, created on 2025-05-29 03:23:42
from '/home/clients/8f08f023c5f75b5a5c4e954b6db8618b/sites/fougeresdecollection.com/templates/frontOffice/lesjardins/includes/addedToCart.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.1.1',
'unifunc' => 'content_6837b71ece6552_97517093',
'has_nocache_code' => false,
'file_dependency' =>
array (
'aa14d3b7f2ad433801776721baf9a8416c643915' =>
array (
0 => '/home/clients/8f08f023c5f75b5a5c4e954b6db8618b/sites/fougeresdecollection.com/templates/frontOffice/lesjardins/includes/addedToCart.html',
1 => 1725028945,
2 => 'file',
),
),
'includes' =>
array (
'file:includes/single-product.html' => 1,
),
),false)) {
function content_6837b71ece6552_97517093 (Smarty_Internal_Template $_smarty_tpl) {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['set_previous_url'][0], array( array('ignore_current'=>"1"),$_smarty_tpl ) );?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_translation_domain'][0], array( array('domain'=>'fo.lesjardins'),$_smarty_tpl ) );?>
<?php ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['product'][0], array( array('attr'=>"id"),$_smarty_tpl ) );
$_prefixVariable1 = ob_get_clean();
$_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin1, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1));
$_block_repeat=true;
echo $_block_plugin1->theliaLoop(array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<div class="clearfix">
<table>
<tr>
<td colspan="3">
<h3 class="text-center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"The product has been added to your cart"),$_smarty_tpl ) );?>
</h3>
</td>
</tr>
<tr>
<td class="col-md-4">
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
if (!is_callable(array($_block_plugin2, 'theliaIfLoop'))) {
throw new SmartyException('block tag \'ifloop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"pse-first-image"));
$_block_repeat=true;
echo $_block_plugin2->theliaIfLoop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<?php ob_start();
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
$_prefixVariable2 = ob_get_clean();
$_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin3, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_prefixVariable2,'limit'=>"1"));
$_block_repeat=true;
echo $_block_plugin3->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_prefixVariable2,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin4, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"));
$_block_repeat=true;
echo $_block_plugin4->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
" alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
">
<?php $_block_repeat=false;
echo $_block_plugin4->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<?php $_block_repeat=false;
echo $_block_plugin3->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_prefixVariable2,'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<?php $_block_repeat=false;
echo $_block_plugin2->theliaIfLoop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
if (!is_callable(array($_block_plugin5, 'theliaElseloop'))) {
throw new SmartyException('block tag \'elseloop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"pse-first-image"));
$_block_repeat=true;
echo $_block_plugin5->theliaElseloop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin6, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"));
$_block_repeat=true;
echo $_block_plugin6->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
" alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
">
<?php $_block_repeat=false;
echo $_block_plugin6->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<?php $_block_repeat=false;
echo $_block_plugin5->theliaElseloop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</td>
<td class="col-md-4">
<h2><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</h2>
<?php ob_start();
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
$_prefixVariable3 = ob_get_clean();
$_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin7, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"));
$_block_repeat=true;
echo $_block_plugin7->theliaLoop(array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<p><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_TITLE']->value,$_smarty_tpl);?>
: <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_AVAILABILITY_TITLE']->value,$_smarty_tpl);?>
</p>
<?php $_block_repeat=false;
echo $_block_plugin7->theliaLoop(array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</td>
<td class="col-md-4">
<?php ob_start();
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
$_prefixVariable4 = ob_get_clean();
$_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin8, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4));
$_block_repeat=true;
echo $_block_plugin8->theliaLoop(array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<?php if ($_smarty_tpl->tpl_vars['IS_PROMO']->value == 1) {?>
<div class="special-price"><span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PROMO_PRICE']->value),$_smarty_tpl ) );?>
</span></div>
<small class="old-price"> <span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PRICE']->value),$_smarty_tpl ) );?>
</span></small>
<?php } else { ?>
<div class="special-price"><span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PRICE']->value),$_smarty_tpl ) );?>
</span></div>
<?php }?>
<?php $_block_repeat=false;
echo $_block_plugin8->theliaLoop(array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</td>
</tr>
</table>
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
" role="button" class="btn btn-primary pull-right"><i class="fa fa-shopping-cart"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View Cart"),$_smarty_tpl ) );?>
</a>
<button type="button" class="btn btn-default pull-right" data-dismiss="modal"><i class="fa fa-chevron-right"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Continue Shopping"),$_smarty_tpl ) );?>
</button>
</div>
<?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
if (!is_callable(array($_block_plugin9, 'theliaIfLoop'))) {
throw new SmartyException('block tag \'ifloop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"accessories"));
$_block_repeat=true;
echo $_block_plugin9->theliaIfLoop(array('rel'=>"accessories"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<aside id="products-upsell" class="grid" role="complementary" aria-labelledby="products-upsell-label">
<div class="products-heading">
<h3 id="products-upsell-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Upsell Products"),$_smarty_tpl ) );?>
</h3>
</div>
<div class="products-content">
<ul class="list-unstyled row products-grid">
<?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
if (!is_callable(array($_block_plugin10, 'theliaLoop'))) {
throw new SmartyException('block tag \'loop\' not callable or registered');
}
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"accessory",'name'=>"accessories",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'order'=>"random",'limit'=>"3"));
$_block_repeat=true;
echo $_block_plugin10->theliaLoop(array('type'=>"accessory",'name'=>"accessories",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'order'=>"random",'limit'=>"3"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();?>
<?php $_smarty_tpl->_subTemplateRender("file:includes/single-product.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('product_id'=>$_smarty_tpl->tpl_vars['ACCESSORY_ID']->value,'hasBtn'=>false,'hasDescription'=>false,'width'=>"218",'height'=>"146"), 0, false);
?>
<?php $_block_repeat=false;
echo $_block_plugin10->theliaLoop(array('type'=>"accessory",'name'=>"accessories",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'order'=>"random",'limit'=>"3"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</ul>
</div>
</aside><!-- #products-upsell -->
<?php $_block_repeat=false;
echo $_block_plugin9->theliaIfLoop(array('rel'=>"accessories"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
$_block_repeat=false;
echo $_block_plugin1->theliaLoop(array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1), ob_get_clean(), $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
}
}