Users can exploit input fields to learn about stock quantities
-
Hey there,
a client sells tickets for events. He does not want customers to be able to see how many tickets are still in stock.
So I changed the corresponding settings in Woocommerce and the stock quantity is no longer displayed in the shopping cart and on product pages – so far so good.
However, we had to find out that the input boxes have a “max” attribute, which in turn means that anyone can still see the actual total available amount of tickets.
This works by either using the built in increment (which will stop when reaching max value) or by entering an amount that exceeds the max value and clicking “update cart” – you will then get a notice that the amount has to be equal to or less than the max value.
You can see an example here: https://imgur.com/a/6D6sYLt
So how do we prevent this from happening? Any workarounds?
The page I need help with: [log in to see the link]
- The topic ‘Users can exploit input fields to learn about stock quantities’ is closed to new replies.