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

#   expire-date of the coupon

##

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

8 years 7 months ago [\#290460](#290460) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  *[expire-date of the coupon](/forum/17-serial-how-to/894282-expire-date-of-the-coupon#290460 "Hi Jerome,  My coupon (gift certificate) will expire after 24 months. How can i display the expire-date of the coupon in the attach-serial plugin so i can show it on the coupon itself? I found a topic in french but i could (google-)translate how it exactly works.")* was created by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")*

Hi Jerome,

My coupon (gift certificate) will expire after 24 months.
How can i display the expire-date of the coupon in the attach-serial plugin so i can show it on the coupon itself?
I found a topic in french but i could (google-)translate how it exactly works.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODk0MjgyLWV4cGlyZS1kYXRlLW9mLXRoZS1jb3Vwb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 7 months ago [\#290463](#290463) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[expire-date of the coupon](/forum/17-serial-how-to/894282-expire-date-of-the-coupon#290463 "Hi Jerome,  My coupon (gift certificate) will expire after 24 months. How can i display the expire-date of the coupon in the attach-serial plugin so i can show it on the coupon itself? I found a topic in french but i could (google-)translate how it exactly works.")*

Hello,

The thing is that the coupon generator store the coupon end date into the serial extra data ( discount_end ).
So if you want to display the date, you just need to display that " serial.extradata.discount_end " information and use the "date" format to transform the timestamp into a formatted date.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODk0MjgyLWV4cGlyZS1kYXRlLW9mLXRoZS1jb3Vwb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.051 seconds

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