-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fixed Special Price class not added in configurable product page #26170
Fixed Special Price class not added in configurable product page #26170
Conversation
Hi @ravi-chandra3197. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
if (isShow) { | ||
$productPrice.find('span:first').addClass('special-price'); | ||
} else { | ||
$productPrice.find('span:first').removeClass('special-price'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion you can use toggleClass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @lbajsarowicz
I have update PR as per your suggestion
can you review it?
5f8f996
to
666d4c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Hi @lbajsarowicz, thank you for the review.
|
✔️ QA passed |
Hi @ravi-chandra3197, thank you for your contribution! |
Description (*)
Fixed Special Price class not added in configurable product page
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)