Jump to content

Server/Product Module default values for custom fields


shamel

Recommended Posts

I have made a custom server/product module.

 

This product also has lots of custom fields that I use to activate the service on the back end.

 

1) When the custom fields show up on the adminorder form they are all empty. I would like to prefill some of them based on $params["clientsdetails"] but still leave the option for the person processing the order to customize some values. How would I do that ?

 

2) When configuring my product's custom fields, I have to un-tick "Admin Only" otherwise the custom field will not appear on the admin order form even though "Show on order form" is checked. What if I want an option to only appear on the admin order form and not the client's ?

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