File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
app/code/Magento/Bundle/view/base/web/js Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -117,18 +117,17 @@ define([
117
117
*/
118
118
_applyQtyFix : function applyQtyFix ( ) {
119
119
var config = this . options . optionConfig ;
120
- if ( ! config . isFixedPrice ) {
121
- return ; // Fix touches only Bundle with Fixed price.
122
- }
123
- _ . each ( config . options , function ( option ) {
124
- _ . each ( option . selections , function ( item ) {
125
- if ( item . qty && item . qty !== 1 ) {
126
- _ . each ( item . prices , function ( price ) {
127
- price . amount = price . amount / item . qty ;
128
- } ) ;
129
- }
120
+ if ( config . isFixedPrice ) {
121
+ _ . each ( config . options , function ( option ) {
122
+ _ . each ( option . selections , function ( item ) {
123
+ if ( item . qty && item . qty !== 1 ) {
124
+ _ . each ( item . prices , function ( price ) {
125
+ price . amount = price . amount / item . qty ;
126
+ } ) ;
127
+ }
128
+ } ) ;
130
129
} ) ;
131
- } ) ;
130
+ }
132
131
} ,
133
132
134
133
/**
You can’t perform that action at this time.
0 commit comments