Compare field value in uppercase |
Compare field value in uppercase |
allelse2m3 |
Jul 16 2016, 07:55 PM
Post
#1
|
Group: Members Posts: 2 Joined: 16-July 16 Member No.: 24,418 |
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 |
Jul 16 2016, 08:22 PM
Post
#2
|
Group: Members Posts: 2 Joined: 16-July 16 Member No.: 24,418 |
the code is from a liquid file in shopify
|
Christian J |
Jul 17 2016, 06:38 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
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
|
Lo-Fi Version | Time is now: 19th April 2024 - 07:05 AM |