A
A
a_palanski2017-09-18 18:23:34
PHP
a_palanski, 2017-09-18 18:23:34

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

2 answer(s)
X
xmoonlight, 2017-09-18
@xmoonlight

Possibility to purchase goods only once per user?

You decide: will he be a GUEST or a REGISTERED USER?
For a guest - no options!

T
Twelfth Doctor, 2017-09-18
@verdex

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 question

Ask a Question

731 491 924 answers to any question