Skip to content

Commit 6de0706

Browse files
Shradha JainShradha Jain
authored andcommitted
AC-6672::set the Quantity for the product for correct tier pricing
1 parent 647b34e commit 6de0706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogCustomerGraphQl/Model/Resolver/PriceTiers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function formatTierPrices(float $productPrice, string $currencyCode, $ti
185185
"discount" => $discount,
186186
"quantity" => $tierPrice->getQty(),
187187
"final_price" => [
188-
"value" => $tierPrice->getValue(),
188+
"value" => $tierPrice->getValue()*$tierPrice->getQty(),
189189
"currency" => $currencyCode
190190
]
191191
];

0 commit comments

Comments
 (0)