Jump to content

Custom Field in Order/Invoice


griffe

Recommended Posts

Hello,

 

When placing an order, we need the customer to fill out a custom text field or text area box (easy) - however we need this text to also appear on the INVOICE.

 

Currently we have the product setup with the custom field 'location'. When ordering the customer can enter this information... However it does not appear anywhere on the order.

 

I thought that maybe we could setup a 'custom configuration' option as a text field and call it location... But it seems there is no way to have a text field as a custom configuration option.

 

Any ideas on how to get my 'location' field to appear on the order? We need this so the customer known which office the bill relates to (they have many offices).

 

Thanks,

Griffe

Link to comment
Share on other sites

We had a similar requirement. Speaking with Matt, we ended up with an action hook. What id does is before the order is placed / invoice is generated, the invoice / order information is updated with your chosen custom field.

 

Try it: http://forum.whmcs.com/showthread.php?t=28709

 

Let us know if you have any questions.

 

PS: it requires some digging in the PhpMyAdmin.

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
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated