# Buy button condition feature AND and OR

**URL:** <https://community.glideapps.com/t/buy-button-condition-feature-and-and-or/8819>\
**Category:** Ask for Help\
**Created:** [May 9, 2020, 9:31pm UTC](https://community.glideapps.com/t/buy-button-condition-feature-and-and-or/8819 "2020-05-09T21:31:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 9, 2020, 9:53pm UTC](https://community.glideapps.com/t/buy-button-condition-feature-and-and-or/8819/2 "2020-05-09T21:53:31Z")

</div>

unfortunately no. You’ll have to create a template of the values for condition 1 and condition 2.

There’s more here if you read from this post on down.

> [@BUG in visibility](https://community.glideapps.com/t/bug-in-visibility/3831/14):
>
> It’s kind of limiting, but I think that’s how it’s designed right now. How are you attempting to check your conditions: (When Color is Blue AND When Switch1 is TRUE) OR When Order isn’t EMPTY It is it like this: When Color is Blue AND (When Switch1 is TRUE OR When Order isn’t EMPTY) I suppose it’s limited to only ANDs or ORs because there is no way to differentiate order of operations with parenthesis. In programming languages, the OR always takes priority it it’s True and no paren…

---

_[View the full topic](https://community.glideapps.com/t/buy-button-condition-feature-and-and-or/8819)._
