× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Select product id and product name automatically

4 years 10 months ago #9661 by Marina
Hello,

I need to select product_id and product_name from a search field. Could you help me with the files I have to edit?

Thank you

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

4 years 9 months ago #9663 by Carl Fuentes
Replied by Carl Fuentes on topic Select product id and product name automatically
You can use foreign key field type, and in the field value put in product_id and product_name. it will allow you to search with product_name and product_id.
The following user(s) said Thank You: Marina

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

4 years 9 months ago - 4 years 9 months ago #9664 by Marina
Hello,

Thank you for your reply.
There is not relation with virtuemart tables. Could you please help me with the code?
Last edit: 4 years 9 months ago by Marina.

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

4 years 9 months ago #9665 by Carl Fuentes
Replied by Carl Fuentes on topic Select product id and product name automatically
Unfortunately this is outside of our support.

However, you can do a little work around like this. choose any table available with foreign key field type and then do the search whole your component for that table name. you will be able to see and change that table into virtuemart field and table.
The following user(s) said Thank You: Søren Beck Jensen

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

4 years 9 months ago #9666 by Marina
I have already done this. Maybe I have to work more on that idea.

Thank you!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.