Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.46 KB

File metadata and controls

27 lines (24 loc) · 1.46 KB
description Built-in Twig functions speed up rendering content in Twig templates.
page_type landing_page

Twig function reference

In addition to the native functions provided by Twig, and [Twig extensions provided by Symfony]([[= symfony_doc =]]/reference/twig_reference.html), [[= product_name =]] offers the following custom Twig functions and filters:

[[= cards([ "templating/twig_function_reference/cart_twig_functions", "templating/twig_function_reference/catalog_twig_functions", "templating/twig_function_reference/checkout_twig_functions", "templating/twig_function_reference/content_twig_functions", "templating/twig_function_reference/component_twig_functions", "templating/twig_function_reference/field_twig_functions", "templating/twig_function_reference/page_twig_functions", "templating/twig_function_reference/product_twig_functions", "templating/twig_function_reference/site_context_twig_functions", "templating/twig_function_reference/storefront_twig_functions", "templating/twig_function_reference/icon_twig_functions", "templating/twig_function_reference/image_twig_functions", "templating/twig_function_reference/url_twig_functions", "templating/twig_function_reference/date_twig_filters", "templating/twig_function_reference/ai_actions_twig_functions", "templating/twig_function_reference/discounts_twig_functions", ], columns=4) =]]