Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

customizable_options.values contains everything but value(s) #712

Merged
merged 8 commits into from
Jul 30, 2019
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public function getData(
$selectedOptionValueData[] = [
'id' => $selectedOption->getId(),
'label' => $optionValue->getTitle(),
'value' => $optionId,
'price' => [
'type' => strtoupper($optionValue->getPriceType()),
'units' => $priceValueUnits,
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/QuoteGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ type SelectedCustomizableOption {
type SelectedCustomizableOptionValue {
id: Int!
label: String!
value: String
value: String!
price: CartItemSelectedOptionValuePrice!
}

Expand Down