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
No comments:
Post a Comment