diff --git a/app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/selection.phtml b/app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/selection.phtml
index 957b360c05f..6215cb7685d 100644
--- a/app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/selection.phtml
+++ b/app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/selection.phtml
@@ -48,7 +48,7 @@ var bundleTemplateRow ='
' +
' ' +
' {{name}} ' +
' ' +
- ' helper('sales')->__('SKU') ?>: {{sku}}' +
+ ' helper('sales')->__('SKU') ?>: {{sku}}' +
' ' +
' | ' +
getCanReadPrice() !== false) : ?>
@@ -122,10 +122,14 @@ Bundle.Selection.prototype = {
var option_type = $(bOption.idLabel + '_' + parentIndex + '_type');
- if(!data){
+ if (!data) {
var data = {};
}
+ if (data.selection_qty) {
+ data.selection_qty = parseFloat(data.selection_qty);
+ }
+
if (data.can_read_price != undefined && !data.can_read_price) {
data.selection_price_value = '';
} else {