You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason for this behavior ?
In this case loading the ShoppingList View Page prices for all the variants of a configurable product are fetch , what causes a an overhead by products which have a lot of variants.
Actual Result
All variants of the configurable product are taken in account when calculating the total.
Expected Result
Only variants present on the ShoppingList should be taken in account , when calculating the total price of the configurable product.
Details about your environment
OroCommerce version: 3.2., 4.1.
The text was updated successfully, but these errors were encountered:
Summary
In the MatrixGridOrderProvider method getTotalPriceFormatted all variants of configurable product are used to calculate the total price, even if the variant is not present on the list: https://github.com/oroinc/orocommerce/blob/master/src/Oro/Bundle/ShoppingListBundle/Layout/DataProvider/MatrixGridOrderProvider.php#L97-L110
Is there a reason for this behavior ?
In this case loading the ShoppingList View Page prices for all the variants of a configurable product are fetch , what causes a an overhead by products which have a lot of variants.
Actual Result
All variants of the configurable product are taken in account when calculating the total.
Expected Result
Only variants present on the ShoppingList should be taken in account , when calculating the total price of the configurable product.
Details about your environment
The text was updated successfully, but these errors were encountered: