Insert purchase date into image attached to email

  • Posts: 33
  • Thank you received: 0
9 years 10 months ago #160157

I Jerome. I am new to Hikashop and am loving it.

I am using attach serial to send a purchaser a document with a variety of information.
So far I have created the basic document as an image and have successfully used the plugin to place a serial number on the document where it should be.

At the moment I am trying to get the purchase date to appear in a particular place on the same document but not sure how to go about it. Can you help me?

I am using Joomla 3.3.1 and HikaShop Business 2.3.1

Last edit: 9 years 10 months ago by suew. Reason: additional information

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 10 months ago #160176

Hi,

www.hikashop.com/support/documentation.h...ns-attachserial-form

You have to display the "Order... order_created"
Then you have to choose the format "Date..." and select the date format you want in the textbox just below.
The date format use the Joomla date format, like : %Y/%m/%d

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.

  • Posts: 33
  • Thank you received: 0
9 years 10 months ago #160351

Hi Jerome,

Thanks very much for your quick response. Worked first time.

Sue

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

  • Posts: 68
  • Thank you received: 6
9 years 9 months ago #163646

Jerome,

If I want to display the purchase date + 6 months. How could we do that?
The idea is that my serial is a coupon valid 6 month so I would like to display the expiration date.

Max

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 9 months ago #163650

Hi,

The "coupon generator" plugin store the "discount end" in the serial extra data.
So you can display this value, if you are right using the option "Discount validity period" in your coupon generator.

Type : Serial data... / extradata.discount_end
Format : Date / %d/%m/%Y

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.
The following user(s) said Thank You: cbadmin

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

  • Posts: 68
  • Thank you received: 6
9 years 9 months ago #163688

I did not know we could unserialize the variable extradata. That's even better!

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

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