Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/cf/3e/59/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/cf/3e
<?php
/* Smarty version 4.3.1, created on 2024-01-02 04:09:14
from '/home/webdevt/www/schtroumpf.fr/themes/stomp/modules/an_stickyaddtocart/views/templates/front/an-sticky-add-to-cart.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_65937e5a817704_57375269',
'has_nocache_code' => false,
'file_dependency' =>
array (
'cf3e596b1b0194e0a2612c644868ebc223f2c51e' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/modules/an_stickyaddtocart/views/templates/front/an-sticky-add-to-cart.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
'file:./product-variants.tpl' => 1,
'file:./product-select.tpl' => 1,
),
),false)) {
function content_65937e5a817704_57375269 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="an_stickyAddToCart an_stickyAddToCart js-an_stickyAddToCart" data-id-product="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['id_product'], ENT_QUOTES, 'UTF-8');?>
" data-hidden="1">
<form method="post" class="an_stickyAddToCartForm" action="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['cart']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
">
<input name="token" value="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['token']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
" type="hidden">
<input name="id_product" value="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['productId']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
" type="hidden">
<?php if ($_smarty_tpl->tpl_vars['config']->value['display_quantity'] != '1') {?>
<input name="qty" type="hidden" value="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['minimal_quantity']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
" min="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['minimal_quantity']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
">
<?php }?>
<div class="container">
<div class="row an_stickyAddToCart-content <?php if ($_smarty_tpl->tpl_vars['config']->value['type_view'] == 'standart') {?>content-standart<?php }?>">
<div class="an_stickyAddToCart-imageblock col-xs-2 col-xl-1">
<div class="an_stickyAddToCart-container-image">
<img class="js-an_stickyAddToCart-image an_stickyAddToCart-image" src="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['cover']->value['bySize']['home_default']['url'], ENT_QUOTES, 'UTF-8');?>
" alt="" title="" >
</div>
</div>
<div class="an_stickyAddToCart-price col-xs-3 col-xl-2">
<h3 class="product-title"><?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['product']->value['name'],30,'...' )), ENT_QUOTES, 'UTF-8');?>
</h3>
<div class="an_stickyAddToCart-product-price-and-shipping product-price-and-shipping">
<?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
<span class="an_stickyAddToCart-regular-price regular-price"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['regular_price'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php }?>
<span class="an_stickyAddToCart-price-price price"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['config']->value['type_view'] == 'standart') {?>
<div class="col-xs-4 col-xl-6 an_stickyAddToCart-standart">
<div class="js-an_stickyAddToCart-standart">
<?php $_smarty_tpl->_subTemplateRender('file:./product-variants.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
</div>
</div>
<?php }?>
<div class="an_stickyAddToCart-btnadd <?php if ($_smarty_tpl->tpl_vars['config']->value['type_view'] == 'standart') {?>col-xs-3<?php }?> <?php if ($_smarty_tpl->tpl_vars['config']->value['type_view'] == 'select' && (isset($_smarty_tpl->tpl_vars['productData']->value)) && count($_smarty_tpl->tpl_vars['productData']->value) > 0) {?>col-xs-7 col-xl-9<?php }?>">
<?php if ($_smarty_tpl->tpl_vars['config']->value['type_view'] == 'select' && (isset($_smarty_tpl->tpl_vars['productData']->value)) && count($_smarty_tpl->tpl_vars['productData']->value) > 0) {?>
<div class="an_stickyAddToCart-select js-an_stickyAddToCart-select">
<?php $_smarty_tpl->_subTemplateRender('file:./product-select.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
</div>
<?php }?>
<?php if ((isset($_smarty_tpl->tpl_vars['configuration']->value['is_catalog'])) && !$_smarty_tpl->tpl_vars['configuration']->value['is_catalog'] && $_smarty_tpl->tpl_vars['config']->value['display_add_to_cart'] == '1') {?>
<div class="an_stickyAddToCart-qty-add clearfix">
<?php if ($_smarty_tpl->tpl_vars['config']->value['display_quantity'] == '1') {?>
<div class="an_stickyAddToCart-qty-container an_stickyAddToCart-qty-container">
<input id="an_stickyAddToCart_qty" type="number" name="qty" value="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['minimal_quantity']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
" class="input-group form-control an_stickyAddToCart-qty" min="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['minimal_quantity']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
" <?php if ($_smarty_tpl->tpl_vars['order_out_of_stock']->value) {?> data-max="<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['quantity']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
" <?php }?> aria-label="Quantity" style="display: block;" >
</div>
<?php }?>
<div class="an_stickyAddToCart-add ">
<button data-animation="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['config']->value['effect'], ENT_QUOTES, 'UTF-8');?>
" data-interval="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['config']->value['interalEffect'], ENT_QUOTES, 'UTF-8');?>
" class="btn btn-primary js-an_stickyAddToCart-add-to-cart" data-button-action="add-to-cart" type="submit" <?php if ($_smarty_tpl->tpl_vars['availableForOrder']->value != '1') {?> disabled="disabled"<?php }?> data-status="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['availableForOrder']->value, ENT_QUOTES, 'UTF-8');?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add to cart','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</div>
</div>
<?php }?>
</div>
</div>
</div>
</form>
</div><?php }
}