Skip to content

M2.2.6 : Special price of 0.0000 is not shown on frontend, but is calculated in cart #18268

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

Closed
kanduvisla opened this issue Sep 26, 2018 · 5 comments
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@kanduvisla
Copy link
Contributor

If you have a product with a special price of 0.00, this is not shown on the frontend. Not in the product listings and also not on the product detail page.

However, if you add it to the cart, you'll see that the special price of 0.00 is used.

Preconditions

  1. Magento 2.2.6

Steps to reproduce

  1. Create a product with a regular price and a special price of 0.00
  2. Check the product in product listings and product detail page.

Expected result

The price should be shown as from/to

Actual result

The regular price is shown. However, the 0.00 price is used for sorting and quote calculations

This bug can be dangerous because it can cause a typo to provide a free product without the frontend directly reflecting this (for example, an import process may accidentally have set all special prices to 0.00, but the store owner cannot see this on the frontend). Free products for everyone!

@magento-engcom-team
Copy link
Contributor

Hi @kanduvisla. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me $VERSION instance

where $VERSION is version tags (starting from 2.2.0+) or develop branches (for example: 2.3-develop).
For more details, please, review the Magento Contributor Assistant documentation.

@kanduvisla do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Sep 26, 2018
@testmagento2
Copy link

I have the same issue, also on a fresh magento 2.2.6

@testmagento2
Copy link

Hi
I found a temporary solution by create catalog price rule and it changed the price to 0

@sidolov sidolov added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Oct 25, 2018
@sidolov
Copy link
Contributor

sidolov commented Oct 25, 2018

Hi @kanduvisla. Thank you for your report.
The issue has been fixed in #18604 by @maheshWebkul721 in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.8 release.

@sidolov
Copy link
Contributor

sidolov commented Oct 27, 2018

Hi @kanduvisla. Thank you for your report.
The issue has been fixed in #18631 by @maheshWebkul721 in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.1 release.

@sidolov sidolov added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

4 participants