We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abafe80 commit ab6f8cbCopy full SHA for ab6f8cb
app/code/Magento/BundleGraphQl/Model/Resolver/Products/Query/BundleProductPostProcessor.php
@@ -104,7 +104,7 @@ public function process(array $resultData)
104
'price_type' => $this->enumLookup->getEnumValueFromField(
105
'PriceTypeEnum',
106
$link->getPriceType()
107
- ),
+ ) ?: 'DYNAMIC',
108
'can_change_quantity' => $link->getCanChangeQuantity()
109
];
110
$resultData[$productKey]['items'][$optionKey]['options'][$link['sku']] = $formattedLink;
app/code/Magento/BundleGraphQl/etc/graphql.xml
@@ -48,5 +48,6 @@
48
<type xsi:type="Enum" name="PriceTypeEnum">
49
<item name="fixed">FIXED</item>
50
<item name="percent">PERCENT</item>
51
+ <item name="dynamic">DYNAMIC</item>
52
</type>
53
</config>
0 commit comments