Default drop down option in custom field

  • Posts: 42
  • Thank you received: 3
1 year 1 month ago #350019

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.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13069
  • MODERATOR
1 year 1 month ago #350020

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum