Timeline for Format price value in knockout template
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 12, 2020 at 17:25 | comment | added | Smithee |
@krybbio I've received that error, and it was because I was in a KO for loop; I've prepended the function with "$parent", so it becomes $parent.getFormattedPrice(12.3456)
|
|
Jul 15, 2020 at 9:58 | comment | added | krybbio |
I've got this error: ReferenceError: Unable to process binding "text: function(){return getFormattedPrice(price_incl_tax) }" Message: getFormattedPrice is not defined
|
|
Aug 30, 2019 at 9:24 | comment | added | Himanshu | @SohelRana but what about if I wanted to use in product detail page ? | |
Jun 7, 2018 at 7:48 | vote | accept | omsta | ||
Jun 6, 2018 at 16:01 | comment | added | Sohel Rana | @BenCrook yes . | |
Jun 6, 2018 at 16:00 | comment | added | Ben Crook | will this also include the currency symbol? | |
Jun 6, 2018 at 15:59 | comment | added | Ben Crook | This answer is cleaner than mine. | |
Jun 6, 2018 at 15:54 | history | answered | Sohel Rana | CC BY-SA 4.0 |