Skip to Content
ReferenceLiquid ReferenceFiltersCheckout

Checkout Filters

These filters are designed for use in checkout and transactional contexts. They help format monetary values, generate absolute URLs, and retrieve translations for localization. Use these filters to display prices, handle currency formatting, and support multilingual checkouts.

full_url

Completes relative urls to absolute URLs.

Input

{{ "/my/store/path" | full_url }}

Output

https://www.mystore.com//my/store/path

money

Rounds the given amount in currency 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
Last updated on