Skip to content

Conversation

KaranChadha10
Copy link
Contributor

Description

This PR contains the following points:

  • Renamed the PriceWithDiscount to PriceWithoutDiscount in the ProductPriceModel.cs class.
  • Updated the property name in _ProductPrice.cshtml view.
  • Updated the model property in ProductModelFactoryTests.cs.

Issue Link: #7654

@skoshelev
Copy link
Contributor

Hi @KaranChadha10.

Thank you very much for your willingness to help. Sorry for not looking at your code for a long time.

Unfortunately, the essence of the ticket is a bit more complicated than just renaming one field. At a minimum, you also need to rename the PriceWithDiscountValue field. But even that's not all, the value in the new field also needs to be set with another variable. Also, the location of the field display on the view should change, as well as the locale.

Unfortunately, I can't accept your PR in this form. If you want to continue working on the task, then let me know

@skoshelev skoshelev closed this Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the ProductPriceModel.PriceWithDiscount property to PriceWithoutDiscount property
3 participants