I wonder if Cornerstone has a capability to make interactive buttons on the frontend. For example, there is a checkbox that instead of filtering products like a filter plugin, it adds an overlay to “hide” the product image from view.
Using divs, absolute positioning and conditions to test how this would work, you can add an image overlay on stuff that should be hidden. Condition could be if a product has a certain term/tag used.
With CSS, making buttons that will react to user input is not too tricky as seen below:
However, CSS doesn’t store values so a refresh will just return you to the default state. If there was a way to either store or toggle a value (ie. check = token_value = 1, unchecked = token_value = 0) then you can have a conditional set to check if the token has value or not.
With some Javascript, this is probably doable but I’m curious if Cornerstone has a feature I should look in to. This thread (User interactions with API data) is kinda close but not quite there.