Select/dropdown attribute in core_commerce
Permalink
Hi All,
I'd like to add a "how did you hear about us" select/dropdown list in the billing details section of corecommerce.
I found where you can add an order attribute, but it only allows text attributes + some others, not a select list.
Can anyone point me in the right direction on how to get a select list appearing here, or another way to get a "how did you hear about us" dropdown?
Bonus opoints if the dropdown allows a text field to appear if the user selects "other" from the list :)
Thanks in advance.
I'd like to add a "how did you hear about us" select/dropdown list in the billing details section of corecommerce.
I found where you can add an order attribute, but it only allows text attributes + some others, not a select list.
Can anyone point me in the right direction on how to get a select list appearing here, or another way to get a "how did you hear about us" dropdown?
Bonus opoints if the dropdown allows a text field to appear if the user selects "other" from the list :)
Thanks in advance.
just came across your post while I was trying to do exactly what you mention here, and...
...I found this:
If you go to /dashboard/system/attributes/types, tick the checkbox for "Select" in the "Core Commerce Order" column and then click [Save] you should get exactly what you're looking for.
As for your "Other"/input box requirement I think you'll have to write and install your own custom attribute.
Kind Regards,
Andy
Magneto Technologies Ltd