FORMATTING: Currency

Miva Knowledge Base
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.
Important Notice: This information is for internal reference only. Use at your own risk.

FORMATTING: Currency

Scot Ranney • December 17, 2023


currency formatting:

Mivascript:
<MvASSIGN NAME = "l.product:price_formatted"	VALUE = "{ [ g.Module_Root $ g.Store:currncy_mod:module ].CurrencyModule_AddFormatting( g.Store:currncy_mod, l.product:price ) }">
SMT:
<mvt:do file="g.Module_Store_Module_Currency" name="l.formatted_number" value="CurrencyModule_AddFormatting(l.settings:module, l.unformatted_number)" />

https://www.scotsscripts.com/mvblog/currency-formatting.html

mvkb