How can I limit the quantity of a single product in a cart?

My store is looking for this functionality as well. I am not super knowledgeable when it comes to coding, but I’ve tried a couple solutions I’ve come across on these forums and none of them quite work.

It’s just mind-blowing to me that this still isn’t a native feature in 2022. We already use about a dozen apps for relatively simple feature add-ons, and installing more just isn’t sustainable or acceptable.

We have a popular USA-exclusive product that we want to limit to 1 per customer to prevent resellers from buying them up and shipping them out of the country via freight forwarders (which is ANOTHER problem for which Shopify’s solution is “get an app”). We’ve tried adding language in the product description that says “Limit one per customer” but this message just gets ignored. And it’s a pain for our customer service team to cancel these orders after the fact.

Hoping Shopify finally gets around to adding this feature soon (or someone comes along with a good coding solution).