I need to assign a unique number for each sold product in my VirtueMart based store with relevance to it's SKU or product ID - product SKUed RD01 will have its own numbers (00000-05000) RD02 will have it's own as well (05001-10000) and so on and on.
Every customer will get with his invoice all the product numbers he bought....
What I'm trying to do is to crate a web site for a rubber duck race - every person will be able to adopt and pay for a rubber duckie on line and Virtuemart will generate a unique number for his duck that will be assigned in the day of the race. there will be a few kinds of rubber ducks, that is why its important to have ranges for the numbers - it will make it allot easier to mark them up..
I would also like to offer my customers to choose a specific number for their duck in these borders and charge them extra for this service - if someone would like to get number 25 for example he will be able to choose to do so in the order form and pay some extra for this. if someone else has already ordered the number 25 he will denied and asked to get a different number.
I have stumbled upon another issue.
What i need to do is to find a way to send to the customer the invoice with the number of hes duck generated by your patch only after i get a paypal like payment system approval.
today the invoice is sent when the customer hits the "pay now" button and goes over to the paypal like site.