File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Weee/Plugin/ConfigurableProduct/Pricing Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1010use Magento \Catalog \Pricing \Price \FinalPrice as CatalogFinalPrice ;
1111use Magento \ConfigurableProduct \Pricing \Price \FinalPriceResolver as ConfigurableProductFinalPriceResolver ;
1212use Magento \Framework \Pricing \SaleableInterface ;
13+ use Magento \Tax \Pricing \Adjustment ;
1314use Magento \Weee \Helper \Data as WeeeHelperData ;
1415
1516class FinalPriceResolver
@@ -44,7 +45,7 @@ public function afterResolvePrice(
4445 SaleableInterface $ product
4546 ):float {
4647 return $ this ->weeePriceDisplay ()
47- ? $ product ->getPriceInfo ()->getPrice (CatalogFinalPrice::PRICE_CODE )->getAmount ()->getValue ()
48+ ? $ product ->getPriceInfo ()->getPrice (CatalogFinalPrice::PRICE_CODE )->getAmount ()->getValue (Adjustment:: ADJUSTMENT_CODE )
4849 : $ product ->getPriceInfo ()->getPrice (CatalogFinalPrice::PRICE_CODE )->getValue ();
4950 }
5051
You can’t perform that action at this time.
0 commit comments