</td> <td style="text-align: center;"> <span class="badge badge-warning"><?php echo $item->coupon_value; ?> </span> </td> <td style="text-align: center;"> <span class="badge badge-info"><?php echo JText::_('COM_CITRUSCART_COUPON_VALUE_TYPE_' . $item->coupon_value_type); ?> </span> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->coupon_enabled, $i, 'coupon_enabled.'); ?> </td> <td style="text-align: center;"> <?php echo $item->coupon_uses; ?> </td> <td style="text-align: center;"> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?>
?> </td> <td style="text-align: center;"> <?php $table = JTable::getInstance('ZoneRelations', 'CitruscartTable'); ?> <?php $keynames = array(); $keynames['geozone_id'] = $row->geozone_id; $keynames['zone_id'] = $item->zone_id; ?> <?php $table->load($keynames); ?> <?php echo CitruscartGrid::enable(isset($table->geozone_id), $i, 'selected_'); ?> </td> <td style="text-align: center;"> <?php if (isset($table->geozone_id)) { ?> <input type="text" name="zip_range[<?php echo $table->zone_id; ?> ]" value="<?php echo $table->zip_range; ?> " /> <?php }
?> </td> <td style="text-align: center;"> <?php $table = JTable::getInstance('ProductCategories', 'CitruscartTable'); ?> <?php $keynames = array(); $keynames['product_id'] = $item->product_id; $keynames['category_id'] = $row->category_id; ?> <?php $table->load($keynames); ?> <?php echo CitruscartGrid::enable(isset($table->product_id), $i, 'selected_'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
</a> </td> <td style="text-align: left;"> <a href="<?php echo $item->link; ?> "> <label class="label label-warning"><?php echo JText::_($item->manufacturer_name); ?> </label> </a> </td> <td > <?php echo CitruscartGrid::enable($item->manufacturer_enabled, $i, 'manufacturer_enabled.'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
<td style="text-align: center;"> <?php echo $item->id; ?> </td> <td style="text-align: left;"> <?php echo JText::_($item->name); ?> </td> <td style="text-align: center;"> <?php $found = in_array($row->geozone_id, $item->geozones) ? true : false; ?> <?php echo CitruscartGrid::enable($found, $i, 'plugin_'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
echo "<br/><b>" . JText::_('COM_CITRUSCART_MINIMUM_ORDER_REQUIRED') . "</b>: " . CitruscartHelperBase::currency($item->subtotal_minimum); } if ($item->subtotal_maximum > '-1') { echo "<br/><b>" . JText::_('COM_CITRUSCART_SHIPPING_METHODS_SUBTOTAL_MAX') . "</b>: " . CitruscartHelperBase::currency($item->subtotal_maximum); } ?> </div> </td> <td style="text-align: center;"> <?php echo $item->tax_class_name; ?> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->shipping_method_enabled, $i, 'shipping_method_enabled.'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
?> "> <?php echo JText::_('COM_CITRUSCART_EDIT_PLUGIN_PARAMETERS'); ?> </a> ] </td> <td style="text-align: center;"> <?php if (version_compare(JVERSION, '1.6.0', 'ge')) { // Joomla! 1.6+ code here echo CitruscartGrid::enable($item->enabled, $i, 'enabled.'); } else { // Joomla! 1.5 code here echo CitruscartGrid::enable($item->published, $i, 'published.'); } ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?>
</a> </td> <td style="text-align: center;"> <span class="badge badge-info"><?php echo $item->transaction_id; ?> </span> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->subscription_enabled, $i, 'subscription_enabled.'); ?> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->lifetime_enabled, $i, 'lifetime_enabled.'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
if ($item->reported_count > 0) { ?> <a href="<?php echo $item->link; ?> "> <img src="../media/citruscart/images/required_16.png"> </a> <?php } ?> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->productcomment_enabled, $i, 'productcomment_enabled.'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
<td style="text-align: left;"> <?php echo $item->product_name; ?> </td> <td style="text-align: center;"> <?php $table = JTable::getInstance('EavAttributeEntities', 'CitruscartTable'); ?> <?php $keynames = array(); $keynames['eaventity_id'] = $item->product_id; $keynames['eavattribute_id'] = $row->eavattribute_id; $keynames['eaventity_type'] = 'products'; $table->load($keynames); echo CitruscartGrid::enable(isset($table->eaventity_id), $i, 'selected_'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
?> </td> <td style="text-align: center;"> <?php $table = JTable::getInstance('UserGroups', 'CitruscartTable'); ?> <?php $keynames = array(); $keynames['user_id'] = $item->id; $keynames['group_id'] = $row->group_id; ?> <?php $table->load($keynames); ?> <?php echo CitruscartGrid::enable(isset($table->user_id), $i, 'selected_'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
[<?php echo CitruscartUrl::popup($select_url, JText::_('COM_CITRUSCART_SELECT_ENTITIES'), array('update' => true)); ?> ] </td> <td style="text-align: center;"> <?php echo CitruscartGrid::order($item->eavattribute_id); ?> <?php echo CitruscartGrid::ordering($item->eavattribute_id, $item->ordering); ?> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->enabled, $i, 'enabled.'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>
</span> </td> <td style="text-align: center;"> <?php echo $currency_helper->format('9876.54321', $item); ?> </td> <td style="text-align: center;"> <span class="badge badge-success"><?php echo $currency_helper->convert($item->currency_code); ?> </span> </td> <td style="text-align: center;"> <?php echo CitruscartGrid::enable($item->currency_enabled, $i, 'currency_enabled.'); ?> </td> </tr> <?php $i = $i + 1; $k = 1 - $k; ?> <?php } ?> <?php if (!count($items)) { ?> <tr>