shopifyFD icon indicating copy to clipboard operation
shopifyFD copied to clipboard

Checkbox and select/dropdown support

Open andyford opened this issue 8 years ago • 1 comments

I'd love to have checkbox custom fields for true/false boolean values and select dropdowns for enumerable options. Is this even technically possible? (I have no idea what features are/are not available to plugin authors)

In the meantime, I have my clients type in "YES" in a text field in lieu of a checkbox; and something like RED, GREEN, or BLUE (for example) in lieu of a select dropdown. This works, but is spectacularly error prone =)

Thanks for a very handy tool!

andyford avatar Jan 27 '17 22:01 andyford

Is this for Custom Fields or ShopifyFD - which this repo relates to. I wouldn't be adding field types into ShopifyFD as it's got a simple interface with flat string (or integer) input.

If you need to emulate a checkbox in ShopifyFD a simple 0 or 1 would do (as would a y or n). Or another alternative would just be checking if said metafield even exists: so exists == true, doesn't == false.

freakdesign avatar Jan 28 '17 07:01 freakdesign