?> <?php $checked = JHTML::_('grid.id', $i, $item->j2store_shippingrate_id); ?> <tr class='row<?php echo $k; ?> '> <td style="text-align: center;"> <?php echo $checked; ?> </td> <td> <?php echo J2html::hidden('standardrates[' . $item->j2store_shippingrate_id . '][j2store_shippingrate_id]', $item->j2store_shippingrate_id); ?> <?php echo J2Html::select()->clearState()->type('genericlist')->name('standardrates[' . $item->j2store_shippingrate_id . '][geozone_id]')->value($item->geozone_id)->hasOne('Geozones')->setRelations(array('fields' => array('key' => 'j2store_geozone_id', 'name' => array('geozone_name'))))->getHtml(); ?> <?php echo J2Html::hidden('standardrates[' . $item->j2store_shippingrate_id . '][shippingmethod_id]', $sid); ?> </td> <?php if ($row->shipping_method_type == 1 || $row->shipping_method_type == 2 || $row->shipping_method_type == 4 || $row->shipping_method_type == 5) { ?> <td> <?php echo J2Html::text('standardrates[' . $item->j2store_shippingrate_id . '][shipping_rate_weight_start]', $item->shipping_rate_weight_start); ?>
</label></td> <td><?php echo J2Html::text('data[field][field_name]', $this->item->field_name, array('class' => 'input', 'id' => 'field_name')); ?> </td> </tr> <tr> <td class="key"><?php echo JText::_('J2STORE_CUSTOM_FIELDS_TABLE'); ?> </td> <td><?php echo $this->item->field_table; ?> <?php echo J2html::hidden('data[field][field_table]', $this->item->field_table); ?> </td> </tr> <tr class="columnname"> <td class="key"><?php echo JText::_('J2STORE_CUSTOM_FIELDS_COLUMN'); ?> </td> <td> <?php if (empty($this->item->j2store_customfield_id)) { ?> <?php echo J2Html::text('data[field][field_namekey]', $this->item->field_namekey, array('class' => 'input', 'id' => 'field_namekey')); ?>
</tr> </tfoot> <tbody> <?php foreach ($this->productitems as $key => $item) { ?> <?php $canChange = 1; ?> <tr> <td> <?php echo JHtml::_('grid.id', $item->j2store_product_id, $item->j2store_product_id); ?> <?php echo J2html::hidden('tmp_product_title[' . $item->j2store_product_id . ']', $item->product_name, array('class' => 'tmp_product_title')); ?> </td> <td> <a href="javascript:void(0)" onclick="window.parent.jSelectItem('<?php echo $item->j2store_product_id; ?> ', '<?php echo str_replace(array("'", "\""), array("\\'", ""), $item->product_name); ?> ', '<?php echo JRequest::getCmd('object', 'id'); ?> ');" >