Closed helgatheviking closed 10 years ago
Thanks for this. I think I'd rather include the select case in core though. Makes it a bit easier for folks extending. Wanna add that?
FYI your snippet is missing the opening <select>
:p
Sure. I didn't know how many types you wanted to support in core.
I think we should include common cases, so select, checkbox, radio etc.
@jameskoster - There is a bunch of that in our settings API class and in the new WooFramework development version (in the WF_Fields class) which you could grab and modify. :)
Matt Cohen Chief Product Officer at WooThemes
http://woothemes.com/ http://matty.co.za/
From: James Koster notifications@github.com Reply: woothemes/projects reply@reply.github.com Date: 25 March 2014 at 2:17:01 PM To: woothemes/projects projects@noreply.github.com Subject: Re: [projects] Custom fields for product data (#51)
I think we should include common cases, so select, checkbox, radio etc.
— Reply to this email directly or view it on GitHub.
@mattyza that's only useful if you're using a wootheme though..?
I meant that you’d grab the code out of there to construct the fields you need. :)
Matt Cohen Chief Product Officer at WooThemes
http://woothemes.com/ http://matty.co.za/
From: James Koster notifications@github.com Reply: woothemes/projects reply@reply.github.com Date: 25 March 2014 at 2:24:04 PM To: woothemes/projects projects@noreply.github.com Cc: Matty Cohen matt@woothemes.com Subject: Re: [projects] Custom fields for product data (#51)
@mattyza that's only useful if you're using a wootheme though..?
— Reply to this email directly or view it on GitHub.
New commit has select and radio. I'll let you guys do checkboxes as I think that might require some tweaking to the save routine.
ty!
Allow custom fields to be built out by users. A sample select type could then be created via: