File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
app/code/Magento/Bundle/Pricing/Price Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ public function __construct(
86
86
}
87
87
88
88
/**
89
+ * Set item to the model
90
+ *
89
91
* @param ItemInterface $item
90
92
* @return $this
91
93
*/
@@ -155,7 +157,10 @@ public function getValue()
155
157
{
156
158
if ($ this ->item && $ this ->item ->getProduct ()->getId ()) {
157
159
$ configuredOptionsAmount = $ this ->getConfiguredAmount ()->getBaseAmount ();
158
- return parent ::getValue () + $ this ->discountCalculator ->calculateDiscount ($ this ->item ->getProduct (), $ configuredOptionsAmount );
160
+ return parent ::getValue () + $ this ->discountCalculator ->calculateDiscount (
161
+ $ this ->item ->getProduct (),
162
+ $ configuredOptionsAmount
163
+ );
159
164
}
160
165
return parent ::getValue ();
161
166
}
You can’t perform that action at this time.
0 commit comments