
Originally Posted by
DrByte
Okay. And at what point should this be generated? Should it be generated for every customer, regardless of any purchases they've made?
Should the "number" have any set formula or pattern?
How should it be delivered to them? Perhaps in a "welcome email"?
How should it be delivered to *you*?
Does the store need to "remember" the code? Does it need to be displayed anywhere other than one-time when it is generated?
I could go on and on with a whole lot more questions about specifics of what your needs are. There's no point in me giving you a bunch of code that generates a number if there's no direction about what to *do* with that number. You'd just come back asking "where do I put that?" or "now how do I email it?", etc.
Can you continue with explaining the full big picture of what you're wanting to accomplish?
Bookmarks