freakdesign / shopify-custom-fields

A javascript tool to emulate Custom Fields within the Shopify dashboard.
http://freakdesign.com.au/pages/shopify-custom-fields
132 stars 24 forks source link

Dropdown and datepicker fields #12

Closed codyyc closed 7 years ago

codyyc commented 9 years ago

Hey,

I was just wondering if you had considered (or if it is even technically possible) to have dropdown fields with pre-defined options or datepicker fields?

colinbrogan commented 9 years ago

I'd like to second cody in the usefulness of this feature. I would try to implement these myself, but the js is minified. Jason, would you happen to be able to get me the source js? I could make a branch of this project and try my hand at adding a few features. Here are other things I'd like to add, and which I suspect wouldn't be that difficult: "[o]": limit display to orders only "[_p]": going ahead and implementing this feature as proposed at the outset of this project "[_s?name1=value1&name2=value2]": a syntax for Cody's selectbox with predefined fields (using a query-like syntax, which js could parse easily and unambiguously)

codyyc commented 9 years ago

I'd happily help out and contribute too.

Following this format, I'd also add

[_d?format=DD/MM/YYYY]

Which could just be interpreted by jQuery datepicker.

dabernathy89 commented 8 years ago

I would try to implement these myself, but the js is minified. Jason, would you happen to be able to get me the source js?

Seconding this - @freakdesign, any chance that the source JS could be included in the repo to better facilitate community contributions?

asyncopation commented 6 years ago

Hi all, just stumbled upon this plugin. Why was this issue closed? Fields with predetermined options (dropdown) would be immensely useful. Thanks.