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

#   Display CMD Username in Coupon

##

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

Less More

- Posts: 5
- Thank you received: 1
-
-

4 years 10 months ago [\#338630](#338630) by [elifaskha](/forum/user/63971-elifaskha "View elifaskha's Profile")  *[Display CMD Username in Coupon](/forum/17-serial-how-to/903815-display-cmd-username-in-coupon#338630 "-- HikaShop version -- : 4.4.5 -- HikaSerial version -- : 4.0.1 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27 -- Browser(s) name and version -- : chrome  Hi,  I'm trying to generate an image to attach to a serial via email. It works, except that I cannot display the name of the user that bought the ticket/product. We are not using any shipping/billing address since everything is virtual. We would like to be able to use the user.name field from the joomla database (hikashop&#95;user -&gt; cms&#95;user&#95;id -&gt; name), but I don't know how to do that. Is there a way to pull this information into the generator plugin? Thanks, Eli")* was created by *[elifaskha](/forum/user/63971-elifaskha "View elifaskha's Profile")*

-- HikaShop version -- : 4.4.5
-- HikaSerial version -- : 4.0.1
-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4.27
-- Browser(s) name and version -- : chrome

Hi,

I'm trying to generate an image to attach to a serial via email. It works, except that I cannot display the name of the user that bought the ticket/product. We are not using any shipping/billing address since everything is virtual. We would like to be able to use the user.name field from the joomla database (hikashop_user -&gt; cms_user_id -&gt; name), but I don't know how to do that.
Is there a way to pull this information into the generator plugin?
Thanks,
Eli

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTAzODE1LWRpc3BsYXktY21kLXVzZXJuYW1lLWluLWNvdXBvbj90bXBsPW1hcmtkb3du) 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)
-

4 years 10 months ago [\#338682](#338682) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Display CMD Username in Coupon](/forum/17-serial-how-to/903815-display-cmd-username-in-coupon#338682 "-- HikaShop version -- : 4.4.5 -- HikaSerial version -- : 4.0.1 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27 -- Browser(s) name and version -- : chrome  Hi,  I'm trying to generate an image to attach to a serial via email. It works, except that I cannot display the name of the user that bought the ticket/product. We are not using any shipping/billing address since everything is virtual. We would like to be able to use the user.name field from the joomla database (hikashop&#95;user -&gt; cms&#95;user&#95;id -&gt; name), but I don't know how to do that. Is there a way to pull this information into the generator plugin? Thanks, Eli")*

Hello,

Attach Serial and PDF Serial plugins can display data from various database tables.
These tables are listed at the bottom of the configuration page of the plugin instance.

When you can find the HikaShop User table, the Joomla user table is not listed.
Which means that the current version of the plugin can't display information from that table.
If you want a "fast" solution, you can use an HIkaShop custom field which would contain the Joomla username value (using an HikaShop mass-action to perform the copy and keep the synchronization).
Otherwise, it would require some development in the HIkaSerial core for a future release.

Regards,

---

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

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

4 years 10 months ago [\#338683](#338683) by [elifaskha](/forum/user/63971-elifaskha "View elifaskha's Profile")  Replied by *[elifaskha](/forum/user/63971-elifaskha "View elifaskha's Profile")* on topic *[Display CMD Username in Coupon](/forum/17-serial-how-to/903815-display-cmd-username-in-coupon#338683 "-- HikaShop version -- : 4.4.5 -- HikaSerial version -- : 4.0.1 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27 -- Browser(s) name and version -- : chrome  Hi,  I'm trying to generate an image to attach to a serial via email. It works, except that I cannot display the name of the user that bought the ticket/product. We are not using any shipping/billing address since everything is virtual. We would like to be able to use the user.name field from the joomla database (hikashop&#95;user -&gt; cms&#95;user&#95;id -&gt; name), but I don't know how to do that. Is there a way to pull this information into the generator plugin? Thanks, Eli")*

Thanks, I was able to get that to work.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTAzODE1LWRpc3BsYXktY21kLXVzZXJuYW1lLWluLWNvdXBvbj90bXBsPW1hcmtkb3du) 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.048 seconds

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