[Skip to main content](#vessel-content)

#   is it possible to connect to other table of my database?

##

- **[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")**
- [![sadaf3d's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46256-sadaf3d "View sadaf3d's Profile") Topic Author
- [ Offline](/forum/user/46256-sadaf3d)

Less More

- Posts: 221
- Thank you received: 8
-

6 years 4 months ago [\#322147](#322147) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[is it possible to connect to other table of my database?](/forum/17-serial-how-to/900435-is-it-possible-to-connect-to-other-table-of-my-database#322147 "hi. in hikaserial  is it possible to connect other table of my joomla and get serial from one of that column and also set some variable to that table to say this code sell? or is it possible do something in hikaserial that when sell one license, give customer site name in perchese workflow? for clearly, i create a joomla component and now i need a system to sell a licence with customer site name. for example i sell my component to xyz.com. i want prepare a system to sell him one license and save his sitename for that license. is it possible with hikaserial and maybe mix with hikashop?")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

hi. in hikaserial

is it possible to connect other table of my joomla and get serial from one of that column and also set some variable to that table to say this code sell?
or is it possible do something in hikaserial that when sell one license, give customer site name in perchese workflow?
for clearly, i create a joomla component and now i need a system to sell a licence with customer site name. for example i sell my component to xyz.com. i want prepare a system to sell him one license and save his sitename for that license. is it possible with hikaserial and maybe mix with hikashop?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTAwNDM1LWlzLWl0LXBvc3NpYmxlLXRvLWNvbm5lY3QtdG8tb3RoZXItdGFibGUtb2YtbXktZGF0YWJhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 4 months ago [\#322148](#322148) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[is it possible to connect to other table of my database?](/forum/17-serial-how-to/900435-is-it-possible-to-connect-to-other-table-of-my-database#322148 "hi. in hikaserial  is it possible to connect other table of my joomla and get serial from one of that column and also set some variable to that table to say this code sell? or is it possible do something in hikaserial that when sell one license, give customer site name in perchese workflow? for clearly, i create a joomla component and now i need a system to sell a licence with customer site name. for example i sell my component to xyz.com. i want prepare a system to sell him one license and save his sitename for that license. is it possible with hikaserial and maybe mix with hikashop?")*

Hello,

It is possible to create a custom plugin which will work as a "serial generator", instead of creating a random serial, it can look in another table and get a content from there.

The HIkaSerial serial structure allows to store extra information in a serial object, it is a good place if you want to store related data such as a website.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTAwNDM1LWlzLWl0LXBvc3NpYmxlLXRvLWNvbm5lY3QtdG8tb3RoZXItdGFibGUtb2YtbXktZGF0YWJhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")**
- [![sadaf3d's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46256-sadaf3d "View sadaf3d's Profile") Topic Author
- [ Offline](/forum/user/46256-sadaf3d)

Less More

- Posts: 221
- Thank you received: 8
-

6 years 4 months ago [\#322168](#322168) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[is it possible to connect to other table of my database?](/forum/17-serial-how-to/900435-is-it-possible-to-connect-to-other-table-of-my-database#322168 "hi. in hikaserial  is it possible to connect other table of my joomla and get serial from one of that column and also set some variable to that table to say this code sell? or is it possible do something in hikaserial that when sell one license, give customer site name in perchese workflow? for clearly, i create a joomla component and now i need a system to sell a licence with customer site name. for example i sell my component to xyz.com. i want prepare a system to sell him one license and save his sitename for that license. is it possible with hikaserial and maybe mix with hikashop?")*

Thank you @Jerome
is it possible generate random code and then set to other table? it is need to create plugin or can modify random generator plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTAwNDM1LWlzLWl0LXBvc3NpYmxlLXRvLWNvbm5lY3QtdG8tb3RoZXItdGFibGUtb2YtbXktZGF0YWJhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 4 months ago [\#322186](#322186) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[is it possible to connect to other table of my database?](/forum/17-serial-how-to/900435-is-it-possible-to-connect-to-other-table-of-my-database#322186 "hi. in hikaserial  is it possible to connect other table of my joomla and get serial from one of that column and also set some variable to that table to say this code sell? or is it possible do something in hikaserial that when sell one license, give customer site name in perchese workflow? for clearly, i create a joomla component and now i need a system to sell a licence with customer site name. for example i sell my component to xyz.com. i want prepare a system to sell him one license and save his sitename for that license. is it possible with hikaserial and maybe mix with hikashop?")*

Hello,

You need to create a new plugin otherwise your modification will be lost during the next HikaSerial update.
It is possible to copy a big part of the code in the HikaSerial random serial generator and once you have generated your serial, you can do whatever you want with it : add custom SQL queries, call web-services, etc. Since it's PHP code, you're free to do what you need.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTAwNDM1LWlzLWl0LXBvc3NpYmxlLXRvLWNvbm5lY3QtdG8tb3RoZXItdGFibGUtb2YtbXktZGF0YWJhc2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
