Skip to content

Change the ProductPriceModel.PriceWithDiscount property to PriceWithoutDiscount property #7654

Description

@skoshelev

The Price property itself already assumes that it reflects the lowest possible price, that is, already with all discounts, so there is no need for a separate PriceWithDiscount property. It is better to create PriceWithoutDiscount to store the price without a discount.

Also, do not forget to change the use of these properties on the views accordingly.

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions