Email Filters

All the filter spesific or available in email themes


money

Rounds the given amount in currenct display currency.

Input

 {{ 3.45234 | money }}

Output

 3.45

money_in_smallest

Returns the given amount in the smallest currency unit.

Input

 {{ 3.45234 | money_in_smallest }}

Output

 345

money_with_currency

Returns the amount in current display currency rounded and formatted.

Input

 {{ 3.45234 | money_with_currency }}

Output

 3.45 €

t

Retrieve a translation with given key from the locale file for the active locale.

Input

 {{ "add_to_cart" | t }}
 {{ "sold_out" | t: title: product.title }}

Output

 Add to cart
 Product Jeans is sold out