Jump to content
Sign in to follow this  
dreams3577

digital product with invoice number

Recommended Posts

Hi All

 

I would like to create a contribution that is a download product, a coupon (ie: a jpg image) however using GD Library write the invioce/order number onto the image (at a later stage i would like to draw a bar code on it)...

 

No other info needs to be recorded into the store database as the coupon is to be used in a real life shop.

 

Is there such a contribution already?

 

if not, where do i start????

 

Many Thanks

Steve

Share this post


Link to post
Share on other sites

I'm not aware of any contribution.....

 

However, I would think that you could change the download php file that copies the jpeg file to the download directory. Modify it to create a version of the jpeg with embeded text. Google for phpthumb and you'll find a nice GD compatible function that will create the new jpeg with the invoice number in it.

 

HTH

Tom

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×