Customise Prestashop - Assign calculated numbers to cust.
$30-250 AUD
Completed
Posted almost 12 years ago
$30-250 AUD
Paid on delivery
I need predetermined (calculated) numbers to be assigned to each customer, perhaps in it own unique table in the database so that it can be displayed in a payment module in the checkout.
For example:
5000000017
5000000025
5000000033
5000000041
5000000058
The last number is a error check number, when this is removed it shows the customer id number. i.e customer 1.
Here is a link to the calculation of the error number: [login to view URL]
We want the number to be 10 digits long, and to begin with a 5.
So when a new customer registers such as customer 10 when they complete checkout in a particular module, their unique number of 5000000108 will be displayed. Possibly displayed by using a new php code {if $uniquenumber}
Another example: customer id number 99 - will display 5000000991 in checkout.
Small budget of $30