Integrating Langify with Store Pickup + Delivery will depend on the widget version your store is on.

Which version of the widget am I using?


Online store 2.0

If you are using our widget on Online store 2.0, no additional steps are needed, as long as you're using Langify v2.

Versions 7.1.2. and older

If you're on version 7.1.2., you will need to implement a code snippet to make Langify compatible with Store Pickup + Delivery.

If you're on a version older than 7.1.2., please contact us so we can make sure you are on the newest version of our app.

Please reach out to us at [email protected]—we’ll be happy to implement this for you. Only proceed if you are comfortable editing code yourself.

Within your storepickup-addons.liquid file add the following code:

{% assign language = cart.attributes["language"] %}
{% if language == nil %}
{% assign language = shop.metafields["languages"]["default"] %}
{% endif %}
{% assign langify_locale = shop.metafields.language_codes[language] %}
{% if langify_locale %}
{% capture language_code %}{{langify_locale}}{% endcapture %}
{% endif %}
{% if request.locale.iso_code %}
{% capture language_code %}{{request.locale.iso_code }}{% endcapture %}
{% endif %}

The widget should now be showing on all language versions of your store and the checkout button should be working correctly.

If you notice any issues, please contact us on [email protected].

Did this answer your question?