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

Select product id and product name automatically

4 年 9 个月 前 #9661 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 登录注册一个帐号 to join the conversation.

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.

4 年 9 个月 前 - 4 年 9 个月 前 #9664 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 年 9 个月 前 by Marina.

Please 登录注册一个帐号 to join the conversation.

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.
The following user(s) said Thank You: Søren Beck Jensen

Please 登录注册一个帐号 to join the conversation.

4 年 9 个月 前 #9666 Marina
I have already done this. Maybe I have to work more on that idea.

Thank you!

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.052秒
核心: Kunena 论坛

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.