File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
dev/tests/functional/tests/app/Magento/Bundle/Test Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,10 @@ public function getData($key = null)
45
45
: number_format ($ bundleOptions ['assigned_products ' ][$ optionKey ]['data ' ]['selection_price_value ' ], 2 );
46
46
$ optionData = [
47
47
'title ' => $ checkoutOption ['title ' ],
48
- 'value ' => "{$ value } {$ price }" ,
49
- 'sku ' => "{$ value }"
48
+ 'value ' => "{$ qty } x {$ value } {$ price }" ,
49
+ 'sku ' => "{$ qty } x {$ value }" ,
50
+ 'partialInvoiceValue ' => "{$ value } {$ price }" ,
51
+ 'partialInvoiceSku ' => "{$ value }"
50
52
];
51
53
52
54
$ checkoutBundleOptions [$ checkoutOptionKey ] = $ optionData ;
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ class CreatePartialInvoiceStep extends \Magento\Sales\Test\TestStep\CreateInvoic
20
20
protected function getItems ()
21
21
{
22
22
$ items = parent ::getItems ();
23
- return $ items [0 ]->getData ()['options ' ];
23
+ $ items = $ items [0 ]->getData ()['options ' ];
24
+ foreach ($ items as &$ item ) {
25
+ $ item ['value ' ] = $ item ['partialInvoiceValue ' ];
26
+ $ item ['sku ' ] = $ item ['partialInvoiceSku ' ];
27
+ }
28
+ return $ items ;
24
29
}
25
30
}
You can’t perform that action at this time.
0 commit comments