The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Compare field value in uppercase
allelse2m3
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
allelse2m3
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 17 2016, 06:38 AM
Post #3


.
********

Group: WDG Moderators
Posts: 8,074
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th March 2019 - 02:53 PM