<?xml version="1.0" encoding="UTF-8"?>
<modification>
<file name="admin/language/*/catalog/product.php">
<operation error="log">
<search position="before"><![CDATA[// Error]]></search>
<add><![CDATA[$_['entry_sku_option_value'] = 'SKU:';
]]></add>
</operation>
</file>
<file name="admin/controller/catalog/product.php">
<operation error="log">
<search position="after"><![CDATA[$this->data['entry_option_value'] = $this->language->get('entry_option_value');]]></search>
<add><![CDATA[$this->data['entry_sku_option_value'] = $this->language->get('entry_sku_option_value');
]]></add>
</operation>
<operation error="log">
<search position="after" offset="5" index="2"><![CDATA[$product_total = $this->model_catalog_product->getTotalProducts($data);]]></search>
<add><![CDATA[
$product_sku_options = array();
$product_sku_options = $this->model_catalog_product->getProductOpt1Option($result['product_id']);
]]></add>
</operation>
<operation error="log">
<search position="after"><![CDATA['selected' => isset($this->request->post['selected']) && in_array($result['product_id'], $this->request->post['selected']),]]></search>
<add><![CDATA[
'sku_option' => $product_sku_options,
]]></add>
</operation>
<operation error="log">
<search position="after"><![CDATA['points_prefix' => $product_option_value['points_prefix'],]]></search>
<add><![CDATA[
'sku_option' => $product_option_value['sku_option'],
]]></add>
</operation>
</file>
<file name="admin/model/catalog/product.php">
<operation error="log">
<search position="iafter" index="1"><![CDATA["', weight_prefix = '" . $this->db->escape($product_option_value['weight_prefix']) .]]></search>
<add><![CDATA[ "', sku_option = '" . $product_option_value['sku_option'] . ]]></add>
</operation>
<operation error="log">
<search position="iafter" index="2"><![CDATA["', weight_prefix = '" . $this->db->escape($product_option_value['weight_prefix']) .]]></search>
<add><![CDATA[ "', sku_option = '" . $product_option_value['sku_option'] . ]]></add>
</operation>
<operation error="log">
<search position="after"><![CDATA['weight' => $product_option_value['weight'],]]></search>
<add><![CDATA['sku_option' => $product_option_value['sku_option'],
]]></add>
</operation>
<operation error="log">
<search position="before"><![CDATA[public function getProductRewards($product_id) {]]></search>
<add><![CDATA[
public function getProductOpt1Option($product_id) {
$query = $this->db->query("SELECT product_id, sku_option FROM " . DB_PREFIX . "product_option_value WHERE product_id = '" . (int)$product_id . "'");
return $query->rows;
}
]]></add>
</operation>
</file>
<file name="admin/view/template/catalog/product_form.tpl">
<operation error="log">
<search position="after" index="1"><![CDATA[<td class="left"><?php echo $entry_option_value; ?></td>]]></search>
<add><![CDATA[<td class="left"><?php echo $entry_sku_option_value; ?></td>
]]></add>
</operation>
<operation error="log">
<search position="after"><![CDATA[<input type="hidden" name="product_option[<?php echo $option_row; ?>][product_option_value][<?php echo $option_value_row; ?>][product_option_value_id]" value="<?php echo $product_option_value['product_option_value_id']; ?>" /></td>]]></search>
<add><![CDATA[
<td class="right"><input type="date" name="product_option[<?php echo $option_row; ?>][product_option_value][<?php echo $option_value_row; ?>][opt4_option]" value="<?php echo $product_option_value['sku_option']; ?>" size="5" /></td>
]]></add>
</operation>
<operation error="log">
<search position="after"><![CDATA[html += ' </select><input type="hidden" name="product_option[' + option_row + '][product_option_value][' + option_value_row + '][product_option_value_id]" value="" /></td>';]]></search>
<add><![CDATA[
html += ' <td class="right"><input type="date" name="product_option[' + option_row + '][product_option_value][' + option_value_row + '][sku_option]" value="" size="3" /></td>';]]></add>
</operation>
</file>
</modification>