Timeline for Magento 2 remove currency symbol and decimals when price is .00
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 4, 2019 at 15:33 | comment | added | Asitis | @HenkZ I fixed that display stuff on other pages with the same JavaScript but in a different file that loads on all pages. That's easy enough to set up because (as far as I know) only the price on the productpage get's rendered by KnockoutJS. | |
Feb 1, 2019 at 8:10 | comment | added | JGeer | And when the page load, it first load the default price displayed with ,00 and currency symbol and that will be replaced within a few honderd mili seconds. But is there a way to display the price by default in this new form? | |
Feb 1, 2019 at 7:49 | comment | added | JGeer |
Many thanks! That works perfectly on the productpage. The only problem I now still have, is that the currency symbol on the categorylist page is stil displayed. Any idea how to edit app/design/frontend/{{namespace}}/{{theme_name}}/Magento_Catalog/templates/product/price/amount/default.phtml ?
|
|
Jan 31, 2019 at 21:15 | history | answered | Klaus Mikaelson | CC BY-SA 4.0 |