Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...