Override the following file from the following path `vendor/magento/module-catalog/view/base/web/js/price-utils.js` then change the value of precision on line 38 as the following changes:
Iam a Workforce management analyst in Firstsource Solutions Ltd in Bengaluru. As a WFM Analyst, I am the responsible to check and create each and evey schedule assigned in the operations for the business line. This blog explains about Magento only.
Showing posts with label remove decimal points. Show all posts
Showing posts with label remove decimal points. Show all posts
How we will remove the decimal points from the price in Magento2 website?
from
var precision=isNaN(format.requiredPrecision=Math.abs(format.requiredPrecision)) ? 2 : format.requiredPrecision,
to
var precision=0
Magento 2: How to remove decimal points from the price
You need to override vendor/magento/module-catalog/view/base/web/js/price-utils.js and change the value of precision on line 38:
from
var precision = isNaN(format.requiredPrecision = Math.abs(format.requiredPrecision)) ? 2 : format.requiredPrecision,
to
var precision = 0
Subscribe to:
Posts (Atom)
Magento : 404 error is showing admin page
Hello, Sometimes we may get the error on admin page once done with the Magento installation. In that scenario, we have to do the following: ...
-
Hi , In this blog I’m going to explain you how to create accordion tabs in magento for layered navigation as displayed below for attribut...
-
To create a 404 page Create a CMS Page with Correct 'Store View'. Then go to System=>Config=>General=>Web in Default ...
-
Open your phpmyadmin from your host try once this sql command. Run this Sql : SET FOREIGN_KEY_CHECKS=0; UPDATE core_store SET store_i...