Hi all,
I am in the process of writing a module for gift certificates. I so far have it so that the creation of the gift certificate is done manually by an administrator following the purchase of a "gift certificate product". An admin would choose which user and amount from an admin screen. Then the user can apply the certificate on any given future purchase he/she makes.
I would like to change this so that the certificate is autmatically created when a user buys the gift certificate. Does anybody have suggestions on the best way to implement this. I imagine I need to create a custom product type. Perhaps someone could suggest some ubercart code to look at that would steer me in the right direction.
Thanks





I am happy to walk anybody thru it!!!
(All you have to make sure is that the coupon price = your gift certificate one
)


Joined: 09/12/2007