var/cache/dev/smarty/compile/aa14d3b7f2ad433801776721baf9a8416c643915_0.file.addedToCart.html.php line 62

  1. <?php
  2. /* Smarty version 4.1.1, created on 2025-05-29 03:23:42
  3.   from '/home/clients/8f08f023c5f75b5a5c4e954b6db8618b/sites/fougeresdecollection.com/templates/frontOffice/lesjardins/includes/addedToCart.html' */
  4. /* @var Smarty_Internal_Template $_smarty_tpl */
  5. if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  6.   'version' => '4.1.1',
  7.   'unifunc' => 'content_6837b71ece6552_97517093',
  8.   'has_nocache_code' => false,
  9.   'file_dependency' => 
  10.   array (
  11.     'aa14d3b7f2ad433801776721baf9a8416c643915' => 
  12.     array (
  13.       => '/home/clients/8f08f023c5f75b5a5c4e954b6db8618b/sites/fougeresdecollection.com/templates/frontOffice/lesjardins/includes/addedToCart.html',
  14.       => 1725028945,
  15.       => 'file',
  16.     ),
  17.   ),
  18.   'includes' => 
  19.   array (
  20.     'file:includes/single-product.html' => 1,
  21.   ),
  22. ),false)) {
  23. function content_6837b71ece6552_97517093 (Smarty_Internal_Template $_smarty_tpl) {
  24. echo call_user_func_array$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['set_previous_url'][0], array( array('ignore_current'=>"1"),$_smarty_tpl ) );?>
  25. <?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 ) );?>
  26. <?php ob_start();
  27. echo call_user_func_array$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['product'][0], array( array('attr'=>"id"),$_smarty_tpl ) );
  28. $_prefixVariable1 ob_get_clean();
  29. $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  30. if (!is_callable(array($_block_plugin1'theliaLoop'))) {
  31. throw new SmartyException('block tag \'loop\' not callable or registered');
  32. }
  33. $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1));
  34. $_block_repeat=true;
  35. echo $_block_plugin1->theliaLoop(array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1), null$_smarty_tpl$_block_repeat);
  36. while ($_block_repeat) {
  37. ob_start();?>
  38. <div class="clearfix">
  39.     <table>
  40.         <tr>
  41.             <td colspan="3">
  42.                 <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 ) );?>
  43. </h3>
  44.             </td>
  45.         </tr>
  46.         <tr>
  47.             <td class="col-md-4">
  48.                 <?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
  49. if (!is_callable(array($_block_plugin2'theliaIfLoop'))) {
  50. throw new SmartyException('block tag \'ifloop\' not callable or registered');
  51. }
  52. $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"pse-first-image"));
  53. $_block_repeat=true;
  54. echo $_block_plugin2->theliaIfLoop(array('rel'=>"pse-first-image"), null$_smarty_tpl$_block_repeat);
  55. while ($_block_repeat) {
  56. ob_start();?>
  57.                     <?php ob_start();
  58. echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
  59. $_prefixVariable2 ob_get_clean();
  60. $_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  61. if (!is_callable(array($_block_plugin3'theliaLoop'))) {
  62. throw new SmartyException('block tag \'loop\' not callable or registered');
  63. }
  64. $_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"));
  65. $_block_repeat=true;
  66. 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);
  67. while ($_block_repeat) {
  68. ob_start();?>
  69.                         <?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  70. if (!is_callable(array($_block_plugin4'theliaLoop'))) {
  71. throw new SmartyException('block tag \'loop\' not callable or registered');
  72. }
  73. $_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"));
  74. $_block_repeat=true;
  75. 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);
  76. while ($_block_repeat) {
  77. ob_start();?>
  78.                             <img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
  79. " alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
  80. ">
  81.                         <?php $_block_repeat=false;
  82. 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);
  83. }
  84. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  85.                     <?php $_block_repeat=false;
  86. 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);
  87. }
  88. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  89.                 <?php $_block_repeat=false;
  90. echo $_block_plugin2->theliaIfLoop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl$_block_repeat);
  91. }
  92. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  93.                 <?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
  94. if (!is_callable(array($_block_plugin5'theliaElseloop'))) {
  95. throw new SmartyException('block tag \'elseloop\' not callable or registered');
  96. }
  97. $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"pse-first-image"));
  98. $_block_repeat=true;
  99. echo $_block_plugin5->theliaElseloop(array('rel'=>"pse-first-image"), null$_smarty_tpl$_block_repeat);
  100. while ($_block_repeat) {
  101. ob_start();?>
  102.                     <?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  103. if (!is_callable(array($_block_plugin6'theliaLoop'))) {
  104. throw new SmartyException('block tag \'loop\' not callable or registered');
  105. }
  106. $_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"));
  107. $_block_repeat=true;
  108. 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);
  109. while ($_block_repeat) {
  110. ob_start();?>
  111.                         <img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
  112. " alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
  113. ">
  114.                     <?php $_block_repeat=false;
  115. 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);
  116. }
  117. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  118.                 <?php $_block_repeat=false;
  119. echo $_block_plugin5->theliaElseloop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl$_block_repeat);
  120. }
  121. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  122.             </td>
  123.             <td class="col-md-4">
  124.                 <h2><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
  125. </h2>
  126.                 <?php ob_start();
  127. echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
  128. $_prefixVariable3 ob_get_clean();
  129. $_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  130. if (!is_callable(array($_block_plugin7'theliaLoop'))) {
  131. throw new SmartyException('block tag \'loop\' not callable or registered');
  132. }
  133. $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"));
  134. $_block_repeat=true;
  135. echo $_block_plugin7->theliaLoop(array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"), null$_smarty_tpl$_block_repeat);
  136. while ($_block_repeat) {
  137. ob_start();?>
  138.                     <p><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_TITLE']->value,$_smarty_tpl);?>
  139.  : <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_AVAILABILITY_TITLE']->value,$_smarty_tpl);?>
  140. </p>
  141.                 <?php $_block_repeat=false;
  142. echo $_block_plugin7->theliaLoop(array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"), ob_get_clean(), $_smarty_tpl$_block_repeat);
  143. }
  144. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  145.             </td>
  146.             <td class="col-md-4">
  147.                 <?php ob_start();
  148. echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
  149. $_prefixVariable4 ob_get_clean();
  150. $_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  151. if (!is_callable(array($_block_plugin8'theliaLoop'))) {
  152. throw new SmartyException('block tag \'loop\' not callable or registered');
  153. }
  154. $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4));
  155. $_block_repeat=true;
  156. echo $_block_plugin8->theliaLoop(array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4), null$_smarty_tpl$_block_repeat);
  157. while ($_block_repeat) {
  158. ob_start();?>
  159.                     <?php if ($_smarty_tpl->tpl_vars['IS_PROMO']->value == 1) {?>
  160.                         <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 ) );?>
  161. </span></div>
  162.                         <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 ) );?>
  163. </span></small>
  164.                     <?php } else { ?>
  165.                         <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 ) );?>
  166. </span></div>
  167.                     <?php }?>
  168.                 <?php $_block_repeat=false;
  169. echo $_block_plugin8->theliaLoop(array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4), ob_get_clean(), $_smarty_tpl$_block_repeat);
  170. }
  171. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  172.             </td>
  173.         </tr>
  174.     </table>
  175.     <a href="<?php echo call_user_func_array$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
  176. " 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 ) );?>
  177. </a>
  178.     <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 ) );?>
  179. </button>
  180. </div>
  181. <?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
  182. if (!is_callable(array($_block_plugin9'theliaIfLoop'))) {
  183. throw new SmartyException('block tag \'ifloop\' not callable or registered');
  184. }
  185. $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"accessories"));
  186. $_block_repeat=true;
  187. echo $_block_plugin9->theliaIfLoop(array('rel'=>"accessories"), null$_smarty_tpl$_block_repeat);
  188. while ($_block_repeat) {
  189. ob_start();?>
  190.     <aside id="products-upsell" class="grid" role="complementary" aria-labelledby="products-upsell-label">
  191.         <div class="products-heading">
  192.             <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 ) );?>
  193. </h3>
  194.         </div>
  195.         <div class="products-content">
  196.             <ul class="list-unstyled row products-grid">
  197.                 <?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
  198. if (!is_callable(array($_block_plugin10'theliaLoop'))) {
  199. throw new SmartyException('block tag \'loop\' not callable or registered');
  200. }
  201. $_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"));
  202. $_block_repeat=true;
  203. 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);
  204. while ($_block_repeat) {
  205. ob_start();?>
  206.                     <?php $_smarty_tpl->_subTemplateRender("file:includes/single-product.html"$_smarty_tpl->cache_id$_smarty_tpl->compile_id0$_smarty_tpl->cache_lifetime, array('product_id'=>$_smarty_tpl->tpl_vars['ACCESSORY_ID']->value,'hasBtn'=>false,'hasDescription'=>false,'width'=>"218",'height'=>"146"), 0false);
  207. ?>
  208.                 <?php $_block_repeat=false;
  209. 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);
  210. }
  211. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
  212.             </ul>
  213.         </div>
  214.     </aside><!-- #products-upsell -->
  215. <?php $_block_repeat=false;
  216. echo $_block_plugin9->theliaIfLoop(array('rel'=>"accessories"), ob_get_clean(), $_smarty_tpl$_block_repeat);
  217. }
  218. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
  219. $_block_repeat=false;
  220. echo $_block_plugin1->theliaLoop(array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1), ob_get_clean(), $_smarty_tpl$_block_repeat);
  221. }
  222. array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
  223. }
  224. }