-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CatalogComponent: TaxIssue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.
Description
Preconditions
- Tested on Magento versions 2.4-develop
- PHP 7.2
Steps to reproduce
- In Admin, set Stores -> Configuration -> SALES -> Tax -> Price Display Settings -> Display Product Prices In Catalog to "Including and Excluding Tax"
- Configure tax class and set it for the product
- Set special price for the product
- In vendor/magento/module-catalog/view/base/templates/product/price/final_price.phtml, set "skip_adjustments" to FALSE for "old-price"
Expected result
- On product detail view page in frontend, old price and new price are displayed with and without TAX
Actual result
- New price and old price excluding TAX are the same. This happens because JavaScript in vendor/magento/module-catalog/view/base/web/js/price-box.js replaces prices incorrectly.
Metadata
Metadata
Assignees
Labels
Component: CatalogComponent: TaxIssue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.