×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Select product id and product name automatically
Marina
New Member
Posts: 3
4 years 9 months ago #9661
by Marina
Select product id and product name automatically was created 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
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.
Carl Fuentes
Moderator
Posts: 28
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.
Marina
New Member
Posts: 3
4 years 9 months ago - 4 years 9 months ago #9664
by Marina
Replied by Marina on topic Select product id and product name automatically
Hello,
Thank you for your reply.
There is not relation with virtuemart tables. Could you please help me with the code?
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.
Carl Fuentes
Moderator
Posts: 28
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.
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.
Marina
New Member
Posts: 3
4 years 9 months ago #9666
by Marina
Replied by Marina on topic Select product id and product name automatically
I have already done this. Maybe I have to work more on that idea.
Thank you!
Thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds