Closed sebastienros closed 1 year ago
{% assign tag = 'Love' %} {% case tag %} {% when 'Love' or 'Luck' %} This is a love or luck potion. {% when 'Strength','Health', 'Love' %} This is a strength or health or love potion. {% else %} This is a potion. {% endcase %}
Should display both statements. https://shopify.dev/api/liquid/tags/case https://github.com/Shopify/liquid/blob/master/lib/liquid/tags/case.rb#L73-L87
Fixed in version 10.2, see https://github.com/harttle/liquidjs/commit/d17813ef5217264bd08f741b0e1f713bedf2d464
Should display both statements. https://shopify.dev/api/liquid/tags/case https://github.com/Shopify/liquid/blob/master/lib/liquid/tags/case.rb#L73-L87