Seems like a good idea would be to create a
GiftCertificate.cfc and subclass them for specifc types
DigitalCertificate extends GiftCertificate
PaperCertificate extends GiftCertificate
I would even look more into the Strategy Design Pattern. I am no OO expert
but I have been reading up on differe
> I'm using the receiver's email in the field. The purchaser makes the
> purchase, then the receiver receives their certificate via email. But
> this makes me think... should I offer a choice of electronic or paper
> certificates? giftCertificateManager.cfc would be able to generate
> both type
> I personally just use the code, since it's a 20-digit random code
> that's going to be pretty secure on its own. You don't want to use the
> email since many people purchase them to give as gifts and the person
> using the code may not know the email of the person that bought it
> originally.
Thanks for all the advice. I'll be workin on it...
Will
~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/c
>I don't know where you are, geographically, but don't forget that you may
>not pay sales tax on gift certs themselves, so it might NOT be like any item
>in the store.
True. My software has the ability to set any product as not taxed, so this is
easily handled. It's a good idea to have that funct
o: CF-Talk
Subject: Gift Certificate/Shopping cart question
I need to add gift certificate functionality to my store app. What's the
best way to do this?
I'm guessing I need a tblGiftCertificates. It contains a certificatecode,
amount, message, datepurch, receiveremail, etc.
The user buys a
> The user buys and actually pays for the certificate like it was any
> item in the store? Would I set it up as an item for sale like that?
Generally yes. You can create a function to generate them automatically if you
want, but you'd have to ensure that it is only done if you're using some onl
I need to add gift certificate functionality to my store app. What's the best
way to do this?
I'm guessing I need a tblGiftCertificates. It contains a certificatecode,
amount, message, datepurch, receiveremail, etc.
The user buys and actually pays for the certificate like it was any item in t
8 matches
Mail list logo