24/7 Support: 800.608.6482

Get Started

Developer Docs

CurrencyModule_AddFormatting

MvDo Function, MVT, Miva Merchant 9+, Engine v5.22+

Tag / Description

<mvt:do file="g.Module_Store_Module_Currency" name="l.formattedCurrencyVariable" value="CurrencyModule_AddFormatting(module var, value)" />

Parameters

  • module var

    A reference to the currency module. In most cases the variable "g.Store:currncy_mod" can be used.

  • value

    The number to be converted into currency.

Return Values

Examples

Formatting a Product's Price Variable

<mvt:do file="g.Module_Store_Module_Currency" name="l.settings:product:formatted_price" value="CurrencyModule_AddFormatting(g.Store:currncy_mod, l.settings:product:price)" />

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2019 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.