Help - Search - Members - Calendar
Full Version: Compare field value in uppercase
HTMLHelp Forums > Web Authoring > Web Site Functionality
allelse2m3
Hello,

I'm new to html coding. i'm trying to code something like this:

{% for tag in product.tags %}
{% if (convert tag value to uppercase[i]) contains 'BLUE BALLOON' %}

Any help will be greatly appreciated.

Thanks.
allelse2m3
the code is from a liquid file in shopify
Christian J
That's not HTML, it's the scripting language Shopify is written in (Ruby?). See https://help.shopify.com/themes/liquid/filters and https://help.shopify.com/themes/liquid/filt.../string-filters
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.