Jump to content

Default value for custom fields?


hostladder

Recommended Posts

Hey guys, I have a few custom fields I'm associating with products. For example I have VPS systems, and each has a custom field for memory named sys_memory. This field can be 512,1024,2048 etc, based on which hosting plan the customer purchases. I currently have these settings defined as DropDowns with 'Admin Only' and 'Required' selected.

 

My question is whether or not there is a way to set these fields to a default per-product value when a product is purchased. Ex, if I purchase the 512Mb memory VPS option, sys_memory gets set to 512, the product-default. I've tried adding a product manually as admin to a different user account, but I need to set the value manually using this method.

 

Any ideas?

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