$citems = @$this->citems; Tienda::load('TiendaHelperProduct', 'helpers.product'); $config = Tienda::getInstance(); $product_compare = $config->get('enable_product_compare', '1'); $plugins_short_desc = $config->get('content_plugins_product_desc', '0'); $js_strings = array('COM_TIENDA_ADDING_PRODUCT_FOR_COMPARISON', 'COM_TIENDA_REMOVING_PRODUCT'); TiendaHelperBase::addJsTranslationStrings($js_strings); ?> <div id="tienda" class="products default"> <?php if ($this->level > 1 && $config->get('display_tienda_pathway')) { ?> <div id='tienda_breadcrumb'> <?php echo TiendaHelperCategory::getPathName($this->cat->category_id, 'links'); ?> </div> <?php } ?> <?php if ($product_compare) { ?> <?php $compareitems = @$this->compareitems; ?> <div id="validationmessage"></div> <?php } ?>
] <?php $categories = $helper_product->getCategories($row->product_id); ?> <div id="current_categories"> <?php foreach (@$categories as $category) { ?> [<a href="<?php echo "index.php?option=com_tienda&view=products&task=selected_disable&id=" . $row->product_id . "&cid[]=" . $category . "&return=" . base64_encode("index.php?option=com_tienda&view=products&task=edit&id=" . $row->product_id); ?> "> <?php echo JText::_('COM_TIENDA_REMOVE'); ?> </a>] <?php echo TiendaHelperCategory::getPathName($category); ?> <br /> <?php } ?> </div> </td> </tr> <?php } ?> </table> <?php