User To Set Own Code to stolen
-
Just looking through the code and have a question about the “stolen” status,
Is there an easy way of implementing a simple button on the Woocommerce Account page where a user can report their own serial as stolen? Which will then change the Aktiv option in the database and if anyyone then checks the serial code afterwards it will show as stolen?Also can you provide a quick example of how you would write a simple code to perform an action after a code is checked? I have read the documentation, but it isn’t clear how or where the jsafter code should go, or in what type of format. Even if it just connects to a database table and outputs user details.
Thanks
- The topic ‘User To Set Own Code to stolen’ is closed to new replies.