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

#   How to remove used Serials display in user account

##

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

Less More

- Posts: 16
- Thank you received: 1
-
-

3 years 7 months ago [\#350953](#350953) by [tzaff](/forum/user/74288-tzaff "View tzaff's Profile")  *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#350953 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")* was created by *[tzaff](/forum/user/74288-tzaff "View tzaff's Profile")*

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.2.9

Hi,
I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial_status, but where or how to use it to get the right info displayed?

Thank you
Xavier

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjI0OC1ob3ctdG8tcmVtb3ZlLXVzZWQtc2VyaWFscy1kaXNwbGF5LWluLXVzZXItYWNjb3VudD90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

3 years 7 months ago [\#350957](#350957) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#350957 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")*

Hello,

Serials and coupons are two different entities.

The Serial is a "generic" content created in HikaSerial via a plugin.
The Coupon is a data from HikaShop.

When you use the "coupon generator" in HikaSerial, in the same time that the serial is generated, an HikaShop coupon code is created too.
But when you use the coupon in HikaShop, you do not have an interaction with the Serial.

Regards,

---

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

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

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

Less More

- Posts: 16
- Thank you received: 1
-
-

3 years 7 months ago [\#350963](#350963) by [tzaff](/forum/user/74288-tzaff "View tzaff's Profile")  Replied by *[tzaff](/forum/user/74288-tzaff "View tzaff's Profile")* on topic *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#350963 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")*

Hi,
ok, thanks, but the db contains a value status, this value is updated when a serial is used and becomes useless for an other use, so it should be possible to change the 'listing' display to only show the serials not used, or do I missunderstand something?

Merci
Xavier

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjI0OC1ob3ctdG8tcmVtb3ZlLXVzZWQtc2VyaWFscy1kaXNwbGF5LWluLXVzZXItYWNjb3VudD90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

3 years 7 months ago [\#350972](#350972) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#350972 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")*

Hello,

The serial has a status ; that status evolve depending the action performed.
If you're using a "consumption" plugin, a serial can be changed from "assigned" to "used".
But when you're using an HikaShop coupon, you're just using the coupon code ; not the HikaSerial serial.

Regards,

---

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

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

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

Less More

- Posts: 16
- Thank you received: 1
-
-

3 years 7 months ago [\#350975](#350975) by [tzaff](/forum/user/74288-tzaff "View tzaff's Profile")  Replied by *[tzaff](/forum/user/74288-tzaff "View tzaff's Profile")* on topic *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#350975 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")*

Hi,
yes, ok, I agree, but as the hikashop_discount_code is the same as hikaserial_serial_data, the search is easily done with an inner join, to display the hikashop code used yes or no (if 1 then used else available) in the hikaserial list shown on the user page.

I'm ok with sql, should find how to display it in php, but never 'played' with joomla code

Merci
Xavier

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjI0OC1ob3ctdG8tcmVtb3ZlLXVzZWQtc2VyaWFscy1kaXNwbGF5LWluLXVzZXItYWNjb3VudD90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

3 years 7 months ago [\#350978](#350978) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#350978 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")*

Hello,

Sure ; if you consider that all your HikaShop codes have a correct quota.

In the Serial table, the discount_id is stored in the Serial "extra data", which can be used to directly access to the coupon (without trying to perform a join on a text field).

Regards,

---

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

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

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

Less More

- Posts: 16
- Thank you received: 1
-
-

3 years 7 months ago [\#351145](#351145) by [tzaff](/forum/user/74288-tzaff "View tzaff's Profile")  Replied by *[tzaff](/forum/user/74288-tzaff "View tzaff's Profile")* on topic *[How to remove used Serials display in user account](/forum/4-how-to/906248-how-to-remove-used-serials-display-in-user-account#351145 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9  Hi, I have added the ability to customers to see their own serials (coupon codes), in their account, but, is there a way to show only the not used once, or, add a row with the status of it. In the db there is a serial&#95;status, but where or how to use it to get the right info displayed?  Thank you Xavier")*

Hi Jerome,
thanks for the answer. Could you please have the patience to explain me how, because I cannot find the right way to do so.

Thanks

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

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

Time to create page: 0.081 seconds

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