×
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 年 9 个月 前 #9661
由 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 登录 或 注册一个帐号 to join the conversation.
Carl Fuentes
Moderator
Posts: 28
4 年 9 个月 前 #9663
由 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 登录 或 注册一个帐号 to join the conversation.
Marina
New Member
Posts: 3
4 年 9 个月 前 - 4 年 9 个月 前 #9664
由 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 年 9 个月 前 by Marina.
Please 登录 或 注册一个帐号 to join the conversation.
Carl Fuentes
Moderator
Posts: 28
4 年 9 个月 前 #9665
由 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 登录 或 注册一个帐号 to join the conversation.
Marina
New Member
Posts: 3
4 年 9 个月 前 #9666
由 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 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.051秒