Timeline for Format price with javascript in Magento 2
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 15, 2019 at 3:54 | comment | added | nikoskip | For those looking how to get the actual priceFormat object (depending of the store config): magento.stackexchange.com/a/151836/77158 | |
Dec 10, 2018 at 9:41 | comment | added | Alex | @MiroslavPetroff Did you find a simple solution for this? Other than writing own code to get the price format? | |
May 26, 2017 at 13:20 | comment | added | Miroslav Petroff |
This is working only on cart and checkout pages. On the other pages window.checkoutConfig is undefined and can't access quote object and throws an error: Uncaught TypeError: Cannot read property 'quoteData' of undefined at quote.js:13
|
|
Mar 30, 2016 at 7:25 | comment | added | janw | That helped. I'll post my code in a seperate answer. But accept yours. | |
Mar 30, 2016 at 7:25 | vote | accept | janw | ||
Mar 29, 2016 at 15:04 | history | edited | MagePal Extensions | CC BY-SA 3.0 |
added 64 characters in body
|
Mar 29, 2016 at 14:59 | history | answered | MagePal Extensions | CC BY-SA 3.0 |