Skip to main content

Insert purchase date into image attached to email

More
12 years 3 months ago - 12 years 3 months ago #160157 by suew
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: 12 years 3 months ago by suew. Reason: additional information

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

More
12 years 3 months ago #160176 by Jerome
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.

More
12 years 3 months ago #160351 by suew
Hi Jerome,

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

Sue

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

More
12 years 2 months ago #163646 by cbadmin
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.

More
12 years 2 months ago #163650 by Jerome
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.
Code:
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.

More
12 years 2 months ago #163688 by cbadmin
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.172 seconds
Powered by Kunena Forum