echo JHtml::_('grid.id', $i, $item->option_id); ?> </td> <td><a href="<?php echo JRoute::_('index.php?option=com_k2store&view=options&task=edit&cid[]=' . $item->option_id); ?> "><?php echo $item->option_unique_name; ?> </a> </td> <td><?php echo $this->escape($item->option_name); ?> </td> <td><?php echo K2StoreHelperOptions::convertKeysToText($item->type); ?> </td> <?php if (!version_compare(JVERSION, '3.0', 'ge')) { ?> <td class="order k2Order"> <span><?php echo $this->pagination->orderUpIcon($i, true, 'orderup', 'K2STORE_MOVE_UP', $this->ordering); ?> </span> <span><?php echo $this->pagination->orderDownIcon($i, count($this->items), true, 'orderdown', 'K2_MOVE_DOWN', $this->ordering); ?> </span> <input type="text" name="order[]" size="5" value="<?php echo $item->ordering;
echo JHTML::_('grid.sort', 'K2STORE_ORDERING', 'a.ordering', $this->lists['order_Dir'], $this->lists['order'], $task); ?> </th> </tr> </thead> <tbody> <?php $i = 0; $k = 0; ?> <?php foreach (@$items as $key => $item) { $checked = JHTML::_('grid.id', $i, $item->product_optionvalue_id); // $checked = JHTML::_('grid.checkedout', $item, $key ); //get the list of already available options $list = K2StoreHelperOptions::getProductOptionValues($item->option_id, $item->optionvalue_id, $item->product_optionvalue_id); ?> <tr class='row<?php echo $k; ?> '> <td> <?php echo $checked; ?> </td> <td> <?php echo $list; ?> [<a href="index.php?option=com_k2store&view=products&task=deleteproductoptionvalues&po_id=<?php