I am trying to format an “Order” button with a different color and different text under a certain condition. The condition of interest is to change the “Order” button to an “In Cart” button when the product has been clicked (i.e. ordered) and thus already “In Cart”. And again, back to “Order” once button is clicked again.
Currently the “Order” button sends the data to another repeating group for “Items in Cart”. I’ve tried several different logics to get the conditional formatting. However, for some reason, the logic just turns red with any kind of logic that could work. Examples such as:
- When Shopping Cart’s List of Orders contains Current cell’s Order
- When Current Page User’s Cart’s List of Bookings contains Current cell Order
Might there be some easier way to do this. Basically I guess the logic should work a little like a toggle switch…
Thanks very much in advance!