expire-date of the coupon

  • Posts: 200
  • Thank you received: 9
  • Hikashop Multisite
5 years 11 months ago #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.

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
5 years 11 months ago #290463

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.062 seconds
Powered by Kunena Forum