Ejemplo n.º 1
0
    					</td>
    				</tr>
    				<tr>
    					<td style="width: 100px; text-align: right;" class="key">
    						<label for="category_full_image">
    						<?php 
echo JText::_('COM_CITRUSCART_CURRENT_IMAGE');
?>
:
    						</label>
    					</td>
    					<td>
    						<?php 
jimport('joomla.filesystem.file');
if (!empty($row->category_full_image) && JFile::exists(Citruscart::getPath('categories_images') . DS . $row->category_full_image)) {
    echo CitruscartUrl::popup(Citruscart::getClass('CitruscartHelperCategory', 'helpers.category')->getImage($row->category_id, '', '', 'full', true), CitruscartHelperCategory::getImage($row->category_id), array('update' => false, 'img' => true));
}
?>
    						<br />
    						<input type="text" name="category_full_image" id="category_full_image" size="48" maxlength="250" value="<?php 
echo $row->category_full_image;
?>
" />
    					</td>
    				</tr>
    				<tr>
    					<td style="width: 100px; text-align: right;" class="key">
    						<label for="category_full_image_new">
    						<?php 
echo JText::_('COM_CITRUSCART_UPLOAD_NEW_IMAGE');
?>
Ejemplo n.º 2
0
$product_image_thumb = CitruscartHelperProduct::getImage($item->product_id, '', $item->product_name, 'full', false, false, array(), true);
$app = JFactory::getApplication();
?>
<div id="citruscart" class="dsc-wrap products view product-<?php 
echo $item->product_id;
?>
 <?php 
echo $item->product_classes;
?>
">
   <?php 
if ($this->defines->get('display_citruscart_pathway')) {
    ?>
   <div id='citruscart_breadcrumb'>
      <?php 
    echo CitruscartHelperCategory::getPathName($this->cat->category_id, 'links', true);
    ?>
   </div>
   <?php 
}
?>
   <!-- row-fluid div starts -->
   <div class="row-fluid">
      <!-- citruscart product div starts -->
      <div id="citruscart_product" class="dsc-wrap">
         <?php 
if (!empty($this->onBeforeDisplayProduct)) {
    ?>
         <div id='onBeforeDisplayProduct_wrapper'>
            <?php 
    echo $this->onBeforeDisplayProduct;
Ejemplo n.º 3
0
        ?>
                  <li class="citruscart_cat_list col-md-4">
                   <div class="dsc-wrap subcategory category-<?php 
        echo $citem->category_id;
        ?>
">
                        <?php 
        if (!empty($citem->category_full_image) || $config->get('use_default_category_image', '1')) {
            ?>
                            <div class="dsc-wrap subcategory_thumb">
                                <a href="<?php 
            echo JRoute::_("index.php?option=com_citruscart&view=products&filter_category=" . $citem->category_id . $citem->slug . $citem->itemid_string);
            ?>
">
                                <?php 
            echo CitruscartHelperCategory::getImage($citem->category_id);
            ?>
                                </a>
                            </div>
                        <?php 
        }
        ?>
                           <?php 
        if ($citem->display_name_subcategory) {
            ?>
                        <h5 class="subcategory_name">
                            <a href="<?php 
            echo JRoute::_("index.php?option=com_citruscart&view=products&filter_category=" . $citem->category_id . $citem->slug . $citem->itemid_string);
            ?>
">
                            <?php 
Ejemplo n.º 4
0
    echo CitruscartGrid::checkedout($item, $i, 'category_id');
    ?>
				</td>
				<td style="text-align: center;">
					<a href="<?php 
    echo $item->link;
    ?>
">
						<?php 
    echo $item->category_id;
    ?>
					</a>
				</td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartHelperCategory::getImage($item->category_full_image, '', JText::_($item->category_name));
    ?>
                </td>
				<td style="text-align: left;">
					<a href="<?php 
    echo $item->link;
    ?>
">

						<?php 
    #TODO  use dash or hypen instead of dot
    //echo str_repeat( '_',$item->level -1 ).JText::_($item->name);
    ?>
						<?php 
    echo str_repeat('.&nbsp;', $item->level - 1) . JText::_($item->name);
    ?>
Ejemplo n.º 5
0
    $categories = $helper_product->getCategories($row->product_id);
    ?>
            <div id="current_categories">
                <?php 
    if ($categories) {
        foreach ($categories as $category) {
            ?>
                [<a href="<?php 
            echo "index.php?option=com_citruscart&view=products&task=selected_disable&id=" . $row->product_id . "&cid[]=" . $category . "&return=" . base64_encode("index.php?option=com_citruscart&view=products&task=edit&id=" . $row->product_id);
            ?>
"> <?php 
            echo JText::_('COM_CITRUSCART_REMOVE');
            ?>
                </a>]
                <?php 
            echo CitruscartHelperCategory::getPathName($category);
            ?>
                <br />
                <?php 
        }
    }
    ?>
            </div>
        </td>
    </tr>
    <?php 
}
?>
</table>