- Posts: 42
- Thank you received: 3
Default drop down option in custom field
3 years 6 months ago #350019
by JF
Default drop down option in custom field was created by JF
Hi.
I am wondering is it possible to use the key-in values and SQL query method to create a single drop-down in hikashop custom field? Otherwise the product will always get the first option which is not correct.
I am wondering is it possible to use the key-in values and SQL query method to create a single drop-down in hikashop custom field? Otherwise the product will always get the first option which is not correct.
Please Log in or Create an account to join the conversation.
3 years 6 months ago #350020
by nicolas
Replied by nicolas on topic Default drop down option in custom field
Hi,
You can use UNION to bind together your MySQL query with another query ouputing one result. You can read more about this here:
stackoverflow.com/questions/12110167/add...f-mysql-select-query
You can use UNION to bind together your MySQL query with another query ouputing one result. You can read more about this here:
stackoverflow.com/questions/12110167/add...f-mysql-select-query
Please Log in or Create an account to join the conversation.
Time to create page: 0.232 seconds