Jump to content

Custom fields on invoice, email and order


bear

Recommended Posts

I can't seem to get this to work.

I have one product that the client orders all the time, but need a custom field included with the invoice email. So, in that one product, I created a custom field, with the name "My Field". (no "quotes")

I go to edit the invoice email, look in the Merge Fields popup, and it tells me I need to use the following to make it appear:

[Custom-My Field]

 

When I do so, that's exactly what shows in the email: [Custom-My Field].

No replacement, and if the field isn't submitted for that particular invoice, I would assume it doesn't show the variable. Still does. Something is amiss.

Do I have this correct? I've tried several times, and also used one word for the field, spaces next to the "-" in between and so on. Nada. Any thoughts?

 

 

Also, I need this to show on the invoice generated, including the PDF version. So far, nothing. It only shows on the order. Maybe I've missed a step or instructions?

Link to comment
Share on other sites

  • WHMCS CEO

That's not the answer. That is the correct syntax to use if it was a client custom field. For a product custom field, you use [ProductCustom-My Field]

 

However, product custom fields only work in product related email templates. They won't work in invoice related templates.

 

Matt

Link to comment
Share on other sites

So, I take it there isn't any way to include a memo, custom field, note, anything I can use to show the information when ordering this for the client (I do it all from the back end) that will include this on invoices, invoice emails, and so on?

I'll have to not send when placing the order, then edit the invoice to include a memo, then send notification? Clunky, but doable, if that's the only way.

Link to comment
Share on other sites

  • 4 weeks later...

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