Jump to content

Custom field names


Recommended Posts

the answer will depend upon two things - what type of custom field it is (client or product), and also which page(s) you want to use it in.

 

the easiest first step will be to add {debug} to your template code on the page you want to use the custom field on - that will open a popup window with a list of variables and arrays that you can access... if the custom field (it might not have a name, just a number) you want is in there, then you will be able to add it to the page... if it isn't, then it would take a little more work to use it.

 

if it's a client custom field, it will likely be in the {$clientsdetails} array.

Link to comment
Share on other sites

if you only have one client custom field, try using {$clientsdetails.customfields1}

 

if it doesn't work, add {debug} to the template, and you should be able to find the customfieldsX value from the popup window.

 

remember the value might be empty (depending on the custom field type) unless the client is logged in.

Edited by brian!
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