Skip to content

refactor: renamed PriceWithDiscount to PriceWithoutDiscount #7656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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

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