<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 23:45:27
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.product.php" */ ?>
<?php /*%%SmartyHeaderCode:1049566504553e5997162879-48361581%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b53bf48be7553a1e7b88c03b87ebb0065d2218eb' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.product.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1049566504553e5997162879-48361581',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'PRODUCT' => 0,
    'VAL_SELF' => 0,
    'GALLERY' => 0,
    'image' => 0,
    'LANG' => 0,
    'OPTIONS' => 0,
    'option' => 0,
    'value' => 0,
    'CTRL_REVIEW' => 0,
    'REVIEW_AVERAGE' => 0,
    'REVIEW_COUNT' => 0,
    'i' => 0,
    'STORE_URL' => 0,
    'SKIN_FOLDER' => 0,
    'LANG_REVIEW_INFO' => 0,
    'CTRL_ALLOW_PURCHASE' => 0,
    'CATALOGUE_MODE' => 0,
    'CTRL_HIDE_PRICES' => 0,
    'CTRL_OUT_OF_STOCK' => 0,
    'MANUFACTURER' => 0,
    'CONFIG' => 0,
    'discount' => 0,
    'SHARE' => 0,
    'html' => 0,
    'COMMENTS' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e599777a2c4_21686794',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e599777a2c4_21686794')) {function content_553e599777a2c4_21686794($_smarty_tpl) {?>
<?php if (isset($_smarty_tpl->tpl_vars['PRODUCT']->value)&&$_smarty_tpl->tpl_vars['PRODUCT']->value) {?>
<div itemscope itemtype="http://schema.org/Product">
   <form action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" method="post" class="add_to_basket">
      <div class="row">
         <div class="small-12 columns">
            <h1 itemprop="name"><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['name'];?>
</h1>
         </div>
      </div>
      <div class="row">
         <div class="small-5 medium-7 columns">            
            <a href="#" class="open-clearing" data-thumb-index="0"><img src="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['medium'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['name'];?>
" id="img-preview"></a>
            <?php if ($_smarty_tpl->tpl_vars['GALLERY']->value) {?>
            <ul class="clearing-thumbs small-block-grid-3 medium-block-grid-5 marg-top" data-clearing>
               <?php  $_smarty_tpl->tpl_vars['image'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['image']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['GALLERY']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['image']->key => $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->_loop = true;
?>
               <li><a href="<?php echo $_smarty_tpl->tpl_vars['image']->value['source'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['image']->value['small'];?>
" data-image-swap="<?php echo $_smarty_tpl->tpl_vars['image']->value['medium'];?>
" data-caption="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['name'];?>
<?php if (!empty($_smarty_tpl->tpl_vars['image']->value['description'])) {?>: <?php }?><?php echo $_smarty_tpl->tpl_vars['image']->value['description'];?>
" class="th image-gallery" alt="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['click_enlarge'];?>
"></a></li>
               <?php } ?>
            </ul>
            <?php }?>
         </div>
         <div class="small-7 medium-5 columns">
            <?php if (is_array($_smarty_tpl->tpl_vars['OPTIONS']->value)) {?>
            <?php  $_smarty_tpl->tpl_vars['option'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['OPTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['option']->key => $_smarty_tpl->tpl_vars['option']->value) {
$_smarty_tpl->tpl_vars['option']->_loop = true;
?>
            <?php if ($_smarty_tpl->tpl_vars['option']->value['type']==Catalogue::OPTION_RADIO) {?>
            <div class="row">
               <div class="small-12 columns">
                  
                  <?php if ($_smarty_tpl->tpl_vars['option']->value['required']&&count($_smarty_tpl->tpl_vars['option']->value['values'])===1) {?>
                  <label for="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
</label>
                  <?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['value_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['values'][0]['price']) {?> <?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['price'];?>
<?php }?>
                  <input type="hidden" name="productOptions[<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['assign_id'];?>
" data-price="<?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['decimal_price'];?>
">
                  <?php } else { ?>
                  <div class="pseudo-label"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['required'];?>
)<?php }?></div>
                  <span id="error_option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
">
                     <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['option']->value['values']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['value']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->_loop = true;
 $_smarty_tpl->tpl_vars['value']->index++;
 $_smarty_tpl->tpl_vars['value']->first = $_smarty_tpl->tpl_vars['value']->index === 0;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['options']['first'] = $_smarty_tpl->tpl_vars['value']->first;
?>
                     <div><input type="radio" name="productOptions[<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
]" id="rad_option_<?php echo $_smarty_tpl->tpl_vars['value']->value['assign_id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['value']->value['assign_id'];?>
" class="nomarg" data-price="<?php echo $_smarty_tpl->tpl_vars['value']->value['decimal_price'];?>
"<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['options']['first']) {?> rel="error_option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" <?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?>required<?php }?><?php }?>>
                        <label for="rad_option_<?php echo $_smarty_tpl->tpl_vars['value']->value['assign_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['value']->value['value_name'];?>
<?php if ($_smarty_tpl->tpl_vars['value']->value['price']) {?> <?php echo $_smarty_tpl->tpl_vars['value']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['value']->value['price'];?>
<?php }?></label>
                     </div>
                     <?php } ?>
                  </span>
                  <?php }?>
               </div>
            </div>
            <?php } elseif ($_smarty_tpl->tpl_vars['option']->value['type']==Catalogue::OPTION_SELECT) {?>
            <div class="row">
               <div class="small-12 columns">
                  
                  <?php if ($_smarty_tpl->tpl_vars['option']->value['required']&&count($_smarty_tpl->tpl_vars['option']->value['values'])===1) {?>
                  <label for="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
</label>
                  <?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['value_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['values'][0]['price']) {?> <?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['price'];?>
<?php }?>
                  <input type="hidden" name="productOptions[<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['assign_id'];?>
" data-price="<?php echo $_smarty_tpl->tpl_vars['option']->value['values'][0]['decimal_price'];?>
">
                  <?php } else { ?>
                  <label for="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['required'];?>
)<?php }?></label>
                  <select name="productOptions[<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="nomarg" <?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?>required<?php }?>>
                  <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['please_select'];?>
</option>
                  <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['option']->value['values']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->_loop = true;
?>
                  <option value="<?php echo $_smarty_tpl->tpl_vars['value']->value['assign_id'];?>
" data-price="<?php echo $_smarty_tpl->tpl_vars['value']->value['decimal_price'];?>
"><?php echo $_smarty_tpl->tpl_vars['value']->value['value_name'];?>
<?php if ($_smarty_tpl->tpl_vars['value']->value['price']) {?> <?php echo $_smarty_tpl->tpl_vars['value']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['value']->value['price'];?>
<?php }?></option>
                  <?php } ?>
                  </select>
                  <?php }?>
               </div>
            </div>
            <?php } else { ?>
            <div class="row">
               <div class="small-12 columns">
                  <label for="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" class="return"><?php echo $_smarty_tpl->tpl_vars['option']->value['option_name'];?>
<?php if ($_smarty_tpl->tpl_vars['option']->value['price']) {?> <?php echo $_smarty_tpl->tpl_vars['option']->value['symbol'];?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['price'];?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?> (<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['required'];?>
)<?php }?></label>
                  <?php if ($_smarty_tpl->tpl_vars['option']->value['type']==Catalogue::OPTION_TEXTBOX) {?>
                  <input type="text" name="productOptions[<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
][<?php echo $_smarty_tpl->tpl_vars['option']->value['assign_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" data-price="<?php echo $_smarty_tpl->tpl_vars['option']->value['decimal_price'];?>
" <?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?>required<?php }?>>
                  <?php } elseif ($_smarty_tpl->tpl_vars['option']->value['type']==Catalogue::OPTION_TEXTAREA) {?>
                  <textarea name="productOptions[<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
][<?php echo $_smarty_tpl->tpl_vars['option']->value['assign_id'];?>
]" id="option_<?php echo $_smarty_tpl->tpl_vars['option']->value['option_id'];?>
" data-price="<?php echo $_smarty_tpl->tpl_vars['option']->value['decimal_price'];?>
" <?php if ($_smarty_tpl->tpl_vars['option']->value['required']) {?>required<?php }?>></textarea>
                  <?php }?>
               </div>
            </div>
            <?php }?>
            <?php } ?>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['review_score']&&$_smarty_tpl->tpl_vars['CTRL_REVIEW']->value) {?>
            <p itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
               <meta itemprop="ratingValue" content="<?php echo $_smarty_tpl->tpl_vars['REVIEW_AVERAGE']->value;?>
">
               <meta itemprop="reviewCount" content="<?php echo $_smarty_tpl->tpl_vars['REVIEW_COUNT']->value;?>
">
               <?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->value = 1;
  if ($_smarty_tpl->tpl_vars['i']->value<=5) { for ($_foo=true;$_smarty_tpl->tpl_vars['i']->value<=5; $_smarty_tpl->tpl_vars['i']->value++) {
?>
               <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['review_score']>=$_smarty_tpl->tpl_vars['i']->value) {?>
               <img src="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
/images/star.png" alt="">
               <?php } elseif ($_smarty_tpl->tpl_vars['PRODUCT']->value['review_score']>($_smarty_tpl->tpl_vars['i']->value-1)&&$_smarty_tpl->tpl_vars['PRODUCT']->value['review_score']<$_smarty_tpl->tpl_vars['i']->value) {?>
               <img src="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
/images/star_half.png" alt="">
               <?php } else { ?>
               <img src="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
/images/star_off.png" alt="">
               <?php }?>
               <?php }} ?>
            <div><?php echo $_smarty_tpl->tpl_vars['LANG_REVIEW_INFO']->value;?>
</div>
            </p>
            <?php }?>
            <?php if (($_smarty_tpl->tpl_vars['CTRL_ALLOW_PURCHASE']->value)&&(!$_smarty_tpl->tpl_vars['CATALOGUE_MODE']->value)) {?>
            <h3>
               <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['ctrl_sale']) {?>
               <span class="old_price" id="fbp" data-price="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['full_base_price'];?>
"><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['price'];?>
</span>
               <span class="sale_price" id="ptp" data-price="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['price_to_pay'];?>
"><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['sale_price'];?>
</span>
               <?php } else { ?>
               <span id="ptp" data-price="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['price_to_pay'];?>
"><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['price'];?>
</span>
               <?php }?>
            </h3>
            <?php if (isset($_smarty_tpl->tpl_vars['PRODUCT']->value['discounts'])) {?>
            <p>(<a href="#quantity_discounts"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['bulk_discount'];?>
</a>)</p>
            <?php }?>
            <div class="row collapse">
               <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['available']=='0') {?>
               <div class="small-12 columns">
                  <input type="submit" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['unavailable'];?>
" class="button small disabled expand marg-top" disabled>
               </div>
               <?php } else { ?>
               <div class="medium-2 columns show-for-medium-up">
                  <input type="text" name="quantity" value="1" class="quantity required text-center">
                  <input type="hidden" name="add" value="<?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['product_id'];?>
">
               </div>
               <div  class="small-12 medium-10 columns">
                  <button type="submit" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['add_to_basket'];?>
" class="button postfix"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['add_to_basket'];?>
</button>
               </div>
               <?php }?>
            </div>
            <?php } else { ?>
            <?php if ($_smarty_tpl->tpl_vars['CTRL_HIDE_PRICES']->value) {?>
            <p class="buy_button"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['login_to_view'];?>
</strong></p>
            <?php } elseif ($_smarty_tpl->tpl_vars['CTRL_OUT_OF_STOCK']->value) {?>
            <p class="buy_button"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['out_of_stock'];?>
</strong></p>
            <?php }?>
            <?php }?>
         </div>
      </div>
      <hr>
      <dl class="tabs" data-tab data-options="deep_linking:true; scroll_to_content:false">
         <?php if (!empty($_smarty_tpl->tpl_vars['PRODUCT']->value['description'])) {?>
         <dd class="active"><a href="#product_info"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['product_info'];?>
</a></dd>
         <?php }?>
         <dd><a href="#product_spec"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['specification'];?>
</a></dd>
         <?php if (isset($_smarty_tpl->tpl_vars['PRODUCT']->value['discounts'])) {?>
         <dd><a href="#quantity_discounts"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['quantity_discounts'];?>
</a></dd>
         <?php }?>
      </dl>
      <div class="tabs-content">
         <?php if (!empty($_smarty_tpl->tpl_vars['PRODUCT']->value['description'])) {?>
         <div class="content active" id="product_info" itemprop="description">
            <?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['description'];?>

         </div>
         <?php }?>
         <div class="content<?php if (empty($_smarty_tpl->tpl_vars['PRODUCT']->value['description'])) {?> active<?php }?>" id="product_spec">
            <table>
               <tbody>
                  <tr>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['product_code'];?>
</td>
                     <td><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['product_code'];?>
</td>
                  </tr>
                  <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['manufacturer']) {?>
                  <tr>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['manufacturer'];?>
</td>
                     <td><?php echo $_smarty_tpl->tpl_vars['MANUFACTURER']->value;?>
</td>
                  </tr>
                  <?php }?>
                  <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['stock_level']) {?>
                  <tr>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['stock_level'];?>
</td>
                     <td><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['stock_level'];?>
</td>
                  </tr>
                  <?php }?>
                  <tr>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['condition'];?>
</td>
                     <td><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['condition'];?>
</td>
                  </tr>
                  <?php if ($_smarty_tpl->tpl_vars['PRODUCT']->value['product_weight']>0) {?>
                  <tr>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['weight'];?>
</td>
                     <td><?php echo $_smarty_tpl->tpl_vars['PRODUCT']->value['product_weight'];?>
<?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['product_weight_unit'];?>
</td>
                  </tr>
                  <?php }?>
               </tbody>
            </table>
         </div>
         <?php if (isset($_smarty_tpl->tpl_vars['PRODUCT']->value['discounts'])) {?>
         <div class="content" id="quantity_discounts">
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['quantity_discounts_explained'];?>
</p>
            <br>
            <table>
               <thead>
                  <tr>
                     <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['quantity'];?>
</th>
                     <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['price_per_unit'];?>
</th>
                  </tr>
               </thead>
               <tbody>
                  <?php  $_smarty_tpl->tpl_vars['discount'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['discount']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['PRODUCT']->value['discounts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['discount']->key => $_smarty_tpl->tpl_vars['discount']->value) {
$_smarty_tpl->tpl_vars['discount']->_loop = true;
?>
                  <tr>
                     <td><?php echo $_smarty_tpl->tpl_vars['discount']->value['quantity'];?>
+</td>
                     <td><?php echo $_smarty_tpl->tpl_vars['discount']->value['price'];?>
</td>
                  </tr>
                  <?php } ?>
               </tbody>
            </table>
         </div>
         <?php }?>
      </div>
   </form>
   <?php if ($_smarty_tpl->tpl_vars['SHARE']->value) {?>
   <?php  $_smarty_tpl->tpl_vars['html'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['html']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['SHARE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['html']->key => $_smarty_tpl->tpl_vars['html']->value) {
$_smarty_tpl->tpl_vars['html']->_loop = true;
?>
   <?php echo $_smarty_tpl->tpl_vars['html']->value;?>

   <?php } ?>
   <?php }?>
   <hr>
   <?php echo $_smarty_tpl->getSubTemplate ('templates/element.product_reviews.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

   <?php  $_smarty_tpl->tpl_vars['html'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['html']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['COMMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['html']->key => $_smarty_tpl->tpl_vars['html']->value) {
$_smarty_tpl->tpl_vars['html']->_loop = true;
?>
   <?php echo $_smarty_tpl->tpl_vars['html']->value;?>

   <?php } ?>
</div>
<?php } else { ?>
<p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['product_doesnt_exist'];?>
</p>
<?php }?><?php }} ?>
