# Adding tags

**URL:** <https://community.glideapps.com/t/adding-tags/16161>\
**Category:** Ask for Help\
**Created:** [September 21, 2020, 9:26pm UTC](https://community.glideapps.com/t/adding-tags/16161 "2020-09-21T21:26:08Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [September 21, 2020, 9:26pm UTC](https://community.glideapps.com/t/adding-tags/16161/1 "2020-09-21T21:26:08Z")

</div>

Hi Guys

How can I add a tag on my image for Sale or Out of stock?

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [September 21, 2020, 9:53pm UTC](https://community.glideapps.com/t/adding-tags/16161/2 "2020-09-21T21:53:21Z")

</div>

There should be fields at the bottom of the component to add fields (like tags) to images, tiles, cards, etc.

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [September 21, 2020, 10:00pm UTC](https://community.glideapps.com/t/adding-tags/16161/3 "2020-09-21T22:00:13Z")

</div>

Thank you what about in a case like this where I want the one shirt to be on sale and the other is out of stock

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/9d26fde60a8df29ffae3895295720757e081de77.png)

---

<div class="post-metadata">

**Author:** ![abhilashabhatia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abhilashabhatia/32/10618_2.png) [@abhilashabhatia](https://community.glideapps.com/u/abhilashabhatia)\
**Post date:** [September 21, 2020, 10:13pm UTC](https://community.glideapps.com/t/adding-tags/16161/4 "2020-09-21T22:13:43Z")

</div>

Hi @Valentine_Madzhie

If the column that you have assigned for tag changes, the value will be reflected here.

In case the values of “On Sale” and “Out of Stock” are in two different columns, then you can make use of the data editor inside Glide and create an if-then-else column to pull one or the other value. Use this column in the tag.

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [September 21, 2020, 10:16pm UTC](https://community.glideapps.com/t/adding-tags/16161/5 "2020-09-21T22:16:25Z")

</div>

You honestly lost me

---

<div class="post-metadata">

**Author:** ![abhilashabhatia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abhilashabhatia/32/10618_2.png) [@abhilashabhatia](https://community.glideapps.com/u/abhilashabhatia)\
**Post date:** [September 21, 2020, 10:18pm UTC](https://community.glideapps.com/t/adding-tags/16161/6 "2020-09-21T22:18:46Z")

</div>

Hmm, were you able to display both “on sale” and “out of stock” tags?

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [September 21, 2020, 10:25pm UTC](https://community.glideapps.com/t/adding-tags/16161/7 "2020-09-21T22:25:53Z")

</div>

No I wasn’t I am trying to achieve that but don’t know how to go about it.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/f41139d3bb14b409c914cb35fb268dee6be91dcc.png)

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [September 21, 2020, 10:26pm UTC](https://community.glideapps.com/t/adding-tags/16161/8 "2020-09-21T22:26:27Z")

</div>

Yup as @abhilashabhatia said, create an IFTHEN column to display the on sale or out of stock values (if something is true then On sale; if something else is true then Out of stock).

You’ll likely need a couple IFTHEN columns to first determine if an item has stock, then to determine if the item is on sale. If it has stock, return True. Then check if the item is on sale… If it is, return True to that column.

Then you can build a Template to get the values of the two IFTHENs (i.e. in stock and on sale would be “TrueTrue” as a result in the template).

Finally build another IFTHEN to check if the template is “TrueTrue”. If it is, return " On Sale". If it’s not, return “Out of Stock”. You may want other breakdowns from the template you create (like " in stock" for something in stock but not on sale).

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [September 23, 2020, 9:44am UTC](https://community.glideapps.com/t/adding-tags/16161/9 "2020-09-23T09:44:01Z")

</div>

I tried this but still struggling is there like a mini example you can maybe show me please

---

<div class="post-metadata">

**Author:** ![Rafa\_da\_Jazz](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rafa_da_jazz/32/66454_2.png) [@Rafa\_da\_Jazz](https://community.glideapps.com/u/Rafa_da_Jazz)\
**Post date:** [November 14, 2023, 8:33pm UTC](https://community.glideapps.com/t/adding-tags/16161/10 "2023-11-14T20:33:15Z")

</div>

I didn’t find the place do add fields. I supose it has changed…

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 14, 2023, 9:06pm UTC](https://community.glideapps.com/t/adding-tags/16161/11 "2023-11-14T21:06:54Z")

</div>

New apps currently don’t have any type of tag overlays for images.
