Stores have thought of this, and know the effects already. Apparently putting products behind glass causes almost a 50% drop in sales( because people don’t want to bother), so stores would prefer not to put anything behind glass or a counter, but they do because the alternative is 100% loss from theft.