Skip to content

Commit 65f6937

Browse files
committed
MC-40028: Price is not updated when configuring configurable product added by "Add Products By SKU" button
1 parent aaeadff commit 65f6937

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/code/Magento/Catalog/view/adminhtml/web/catalog/product/composite/configure.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,13 @@ define([
452452
}
453453
},
454454

455+
/**
456+
* Helper to find select element of currently confirmed item
457+
*/
458+
getCurrentConfirmedSelectElement: function () {
459+
return $(this.confirmedCurrentId).getElementsByTagName('select');
460+
},
461+
455462
/**
456463
* Helper to find qty of active form
457464
*/

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderFormItemsOrderedSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
<element name="itemsSKU" type="text" selector="(//div[contains(@class, 'product-sku-block')])[{{productNumber}}]" parameterized="true"/>
2020
<element name="moveProduct" type="select" selector="//td[contains(.,'{{productName}}')]/../..//td//select" parameterized="true"/>
2121
<element name="productMessage" type="text" selector="//section[@id = 'order-items']//span[text()='{{productName}}']/ancestor::tr/..//div[contains(@class, 'message-{{messageType}}')]" parameterized="true"/>
22+
<element name="productPrice" type="text" selector="//div[@id = 'order-errors']//strong[text()='{{productName}}']/ancestor::tr/td[@data-column='price']" timeout="30" parameterized="true"/>
2223
</section>
2324
</sections>

0 commit comments

Comments
 (0)