shopifyFD
shopifyFD copied to clipboard
Checkbox and select/dropdown support
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!
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.