echo html_entity_decode(ob_get_clean(), 2, 'UTF-8'); } ?> ", "name": "<?php echo smarty_modifier_truncate(smarty_modifier_escape(html_entity_decode($_smarty_tpl->tpl_vars['product']->value['name'], 2, 'UTF-8')), 15, '...', true); ?> ", "price": "<?php if ($_smarty_tpl->getVariable('priceDisplay')->value == @PS_TAX_EXC) { ob_start(); echo Product::displayWtPrice(array('p' => $_smarty_tpl->tpl_vars['product']->value['total']), $_smarty_tpl); echo html_entity_decode(ob_get_clean(), 2, 'UTF-8'); } else { ob_start(); echo Product::displayWtPrice(array('p' => $_smarty_tpl->tpl_vars['product']->value['total_wt']), $_smarty_tpl); echo html_entity_decode(ob_get_clean(), 2, 'UTF-8'); } ?> ", "idCombination": <?php if (isset($_smarty_tpl->tpl_vars['product']->value['attributes_small'])) { echo $_smarty_tpl->getVariable('productAttributeId')->value; } else { ?> 0<?php } ?> , <?php if (isset($_smarty_tpl->tpl_vars['product']->value['attributes_small'])) {
?> " /></a> <a href="<?php echo is_array($_tmp = $this->_tpl_vars['accessoryLink']) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8'); ?> " title="<?php echo smartyTranslate(array('s' => 'More'), $this); ?> " class="product_description"><?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['accessory']['description_short']) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)) ? $this->_run_mod_handler('truncate', true, $_tmp, 100, '...') : smarty_modifier_truncate($_tmp, 100, '...'); ?> </a> </p> <p class="product_accessories_price"> <span class="price"><?php echo Product::displayWtPrice(array('p' => $this->_tpl_vars['accessory']['price']), $this); ?> </span> <a class="button" href="<?php echo is_array($_tmp = $this->_tpl_vars['accessoryLink']) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8'); ?> " title="<?php echo smartyTranslate(array('s' => 'View'), $this); ?> "><?php echo smartyTranslate(array('s' => 'View'), $this); ?> </a> <a class="button ajax_add_to_cart_button" href="<?php echo $this->_tpl_vars['base_dir']; ?>
?> &ipa=<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?> &token=<?php echo $this->_tpl_vars['static_token']; ?> " title="<?php echo smartyTranslate(array('s' => 'remove this product from my cart', 'mod' => 'blockcart'), $this); ?> "> </a><?php } ?> </span> <span class="price"><?php echo Product::displayWtPrice(array('p' => $this->_tpl_vars['product']['real_price']), $this); ?> </span> </dt> <?php if (isset($this->_tpl_vars['product']['attributes_small'])) { ?> <dd id="cart_block_combination_of_<?php echo $this->_tpl_vars['product']['id_product']; if ($this->_tpl_vars['product']['id_product_attribute']) { ?> _<?php echo $this->_tpl_vars['product']['id_product_attribute']; } ?> " class="<?php
?> ', 'quantity': <?php echo $this->_tpl_vars['product']['cart_quantity']; ?> , 'priceByLine': '<?php echo is_array($_tmp = Product::displayWtPrice(array('p' => $this->_tpl_vars['product']['real_price']), $this)) ? $this->_run_mod_handler('html_entity_decode', true, $_tmp, 2, 'UTF-8') : html_entity_decode($_tmp, 2, 'UTF-8'); ?> ', 'name': '<?php echo is_array($_tmp = is_array($_tmp = is_array($_tmp = $this->_tpl_vars['product']['name']) ? $this->_run_mod_handler('addslashes', true, $_tmp) : addslashes($_tmp)) ? $this->_run_mod_handler('truncate', true, $_tmp, 16, '...') : smarty_modifier_truncate($_tmp, 16, '...')) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8'); ?> ', 'price': '<?php echo is_array($_tmp = Product::displayWtPrice(array('p' => $this->_tpl_vars['product']['real_price']), $this)) ? $this->_run_mod_handler('html_entity_decode', true, $_tmp, 2, 'UTF-8') : html_entity_decode($_tmp, 2, 'UTF-8'); ?> ', 'idCombination': <?php if (isset($this->_tpl_vars['product']['attributes_small'])) { echo $this->_tpl_vars['productAttributeId']; } else { ?> 0<?php } ?> , <?php if (isset($this->_tpl_vars['product']['attributes_small'])) { ?> 'hasAttributes': true,
echo smartyTranslate(array('s' => 'More'), $_smarty_tpl); ?> " class="product_description"><?php echo smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['accessory']->value['description_short']), 70, '...'); ?> </a> </div> <p class="product_accessories_price"> <?php if ($_smarty_tpl->tpl_vars['accessory']->value['show_price'] && !isset($_smarty_tpl->getVariable('restricted_country_mode', null, true, false)->value) && !$_smarty_tpl->getVariable('PS_CATALOG_MODE')->value) { ?> <span class="price"><?php if ($_smarty_tpl->getVariable('priceDisplay')->value != 1) { echo Product::displayWtPrice(array('p' => $_smarty_tpl->tpl_vars['accessory']->value['price']), $_smarty_tpl); } else { echo Product::displayWtPrice(array('p' => $_smarty_tpl->tpl_vars['accessory']->value['price_tax_exc']), $_smarty_tpl); } ?> </span><?php } ?> <a class="button" href="<?php echo smarty_modifier_escape($_smarty_tpl->getVariable('accessoryLink')->value, 'htmlall', 'UTF-8'); ?> " title="<?php echo smartyTranslate(array('s' => 'View'), $_smarty_tpl); ?> "><?php echo smartyTranslate(array('s' => 'View'), $_smarty_tpl); ?> </a>
?> <span class="reduction">(-<?php echo $_smarty_tpl->getVariable('specific_prices')->value['reduction'] * floatval(100); ?> %)</span> <?php } ?> <?php } ?> <span class="price"><?php if (!$_smarty_tpl->getVariable('priceDisplay')->value) { echo Product::displayWtPrice(array('p' => $_smarty_tpl->getVariable('special')->value['price']), $_smarty_tpl); } else { echo Product::displayWtPrice(array('p' => $_smarty_tpl->getVariable('special')->value['price_tax_exc']), $_smarty_tpl); } ?> </span> </li> </ul> <p> <a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('prices-drop.php'); ?> " title="<?php echo smartyTranslate(array('s' => 'All specials', 'mod' => 'blockspecials'), $_smarty_tpl); ?> " class="button_large"><?php echo smartyTranslate(array('s' => 'All specials', 'mod' => 'blockspecials'), $_smarty_tpl); ?>