Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if context == 'receipt' %}
- {% set has_video = false %}
- {% for item in items %}
- {% if item.code == "video" %}
- {% set has_video = true %}
- {% endif %}
- {% endfor %}
- {% if has_video %}
- {% set custom_lang = config.lang|merge({"checkout_continue_to": "Custom video language "}) %}
- {% set config = config|merge({"lang": custom_lang}) %}
- {% endif %}
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement