Jump to content

Product Custom Field, how to retrieve?


zanko

Recommended Posts

Hi,

 

I'm working on a provisioning module which rely on information chosen by the client during the order. I see that the custom fields are in the tblcustomfields and tblcustomfieldsvalues, but I don't know how they relate to tblhosting or tblorder (or similar).

 

For example, when viewing the customers order, whmcs does 'SELECT value FROM tblcustomfieldsvalues WHERE fieldid='1' AND relid='2''. I can't find any documentation reference that explains the "relid", so I can properly tie an order with the choosen custom field values chosen by the client.

 

Can you please refer me to documentation that explains the connection, or if simple just tell me how it works?

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