Answer the question
In order to leave comments, you need to log in
Possibility to purchase goods only once per user?
Good afternoon, tell me how to implement the ability to purchase goods only once for a user, preferably on opencart, but other engines are also interesting to know. There will be no registration, just a new user selects a product and from this computer, for example, will no longer be able to buy.
Answer the question
In order to leave comments, you need to log in
Possibility to purchase goods only once per user?
When buying, give the user a cookie with the product ID, and then check if he has the right cookie and then prevent him from buying the product with a specific ID, if there is a cookie.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question