I have a number of attributes for a product, and it would be helpful to be able to provide instructional labels, as you see in CCK nodes. What would be the simplest way to go about this? Do I need to hack a patch?
Thanks!
|
Ubercart |
|
|
|
||
|
Mon, 09/24/2007 - 17:54
I have a number of attributes for a product, and it would be helpful to be able to provide instructional labels, as you see in CCK nodes. What would be the simplest way to go about this? Do I need to hack a patch? Thanks!
Re: Any way to add a label to an attribute?
I'll give a +1 to this idea. Others have requested similar functionality. For now, the simplest thing to do would be a basic module using hook_form_alter() to add a description to the form elements. If you don't know how to do that, you may want to wait for an update.
Re: Re: Any way to add a label to an attribute?
Thanks for the vote, Ryan. I am putting together a few functions that will help theme the attribute form a bit, and will post them when I'm done, just in case it might be helpful to someone else.
Re: Re: Re: Re: Any way to add a label to an attribute?
Here's the example: http://www.ubercart.org/forum/ideas_and_suggestions/813/heres_example_ho... It doesn't add labels to the form, but allows you to edit the display of the form as you please, and so if you wanted to add labels, you could. |
|