File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ var bundleTemplateRow ='<td>' +
48
48
' <input type="hidden" name="<?php echo $ this ->getFieldName () ?> [{{parentIndex}}][{{index}}][delete]" value="" class="delete">' +
49
49
' {{name}}<br />' +
50
50
' <div class="nobr">' +
51
- ' <strong><?php echo $ this ->helper ('sales ' )->__ ('SKU ' ) ?> :</strong> {{ sku}}' +
51
+ ' <strong><?php echo $ this ->helper ('sales ' )->__ ('SKU ' ) ?> :</strong> <a href=" <?php echo $ this -> getUrl ( ' */catalog_product/edit ' , [ ' store ' => $ this -> getRequest ()-> getParam ( ' store ' )]) ?> id/{{product_id}}/">{{ sku}}</a> ' +
52
52
' </div>' +
53
53
'</td>' +
54
54
<?php if ($ this ->getCanReadPrice () !== false ) : ?>
@@ -122,10 +122,14 @@ Bundle.Selection.prototype = {
122
122
123
123
var option_type = $(bOption.idLabel + '_' + parentIndex + '_type');
124
124
125
- if(!data){
125
+ if (!data) {
126
126
var data = {};
127
127
}
128
128
129
+ if (data.selection_qty) {
130
+ data.selection_qty = parseFloat(data.selection_qty);
131
+ }
132
+
129
133
if (data.can_read_price != undefined && !data.can_read_price) {
130
134
data.selection_price_value = '';
131
135
} else {
You can’t perform that action at this time.
0 commit comments