Liquid features usage examples

Create new currency switcher


Add language value for product property


Use sections only for certain language


Show content only for default language


Include different snippets per each language


Replace product image output with localized version

Default usage




Use image ALT localization

Default usage




Load Facebook SDK with localization parameter

{%- capture LS_LANGUAGE -%}{%- render "ls-language" -%}{%- endcapture -%}
{%- assign FB_LANGUAGE = LS_LANGUAGE | replace: "-", "_" -%}

<!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "https://connect.facebook.net/{{ FB_LANGUAGE }}/sdk.js#xfbml=1&version=v3.0";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Starten Sie noch heute Ihrekostenlose 14-Tage-Testversion today!

Ein Meeting planen

Versuchen Sie LangShop kostenlos für 14 Tage. Geben Sie Ihre Shopify-Domain ein.