nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

OveriddenPrice handled as AdditionalCharge when DisplayFromPrices=true

Open alinmircea opened this issue 1 month ago • 0 comments

https://github.com/nopSolutions/nopCommerce/blob/5e654720bc4f08a436300a40232f25f3659bef36/src/Presentation/Nop.Web/Factories/ProductModelFactory.cs#L405

Please check the location above, OveriddenPrice is handled as AdditionalCharge.

I'm not sure if this is an actual bug as we're not using DisplayFromPrices=true, and I've not tested. (Encountered the code while overriding the method for a different purpose. From the looks of it, it will add overriden price to product price.)

alinmircea avatar May 14 '24 20:05 alinmircea