How Do I add Today's Date plus 3 to HTML Code, Expiring coupon code date |
How Do I add Today's Date plus 3 to HTML Code, Expiring coupon code date |
srj |
Jun 15 2020, 01:51 PM
Post
#1
|
Group: Members Posts: 2 Joined: 15-June 20 Member No.: 27,399 |
I'm trying to tell customers that their coupon code will end 3 days from today's date. But don't know how to do so using HTML code.
|
Christian J |
Jun 15 2020, 02:09 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,650 Joined: 10-August 06 Member No.: 7 |
With just HTML you must write it manually.
If you want the date to adjust automatically to the three days after they got the code, you need some kind of scripting (javascript, or better a server-side script like PHP). |
pandy |
Jun 15 2020, 02:10 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
You can't. You need a programming language. Either JavaScript or something server side.
Also, 3 days mean what? 72 hours from now? Or if it's the 15th today the coupon will be good until midnight the 18th? If the latter is that in the customer's time zone, the server's or something else? |
pandy |
Jun 15 2020, 02:11 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Yeah, yeah. You were quicker. For once.
|
srj |
Jun 15 2020, 02:20 PM
Post
#5
|
Group: Members Posts: 2 Joined: 15-June 20 Member No.: 27,399 |
With just HTML you must write it manually. If you want the date to adjust automatically to the three days after they got the code, you need some kind of scripting (javascript, or better a server-side script like PHP). Yes, for example, if the customer received an email on June 15th, we would say that the coupon expires on June 18th. I'm using MailChimp email platform, not sure if it take javascript. |
pandy |
Jun 15 2020, 03:25 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
It seems they have an add-on service called CouponCarrier that lets you set expiration dates.
https://mailchimp.com/integrations/coupon-carrier/ https://docs.couponcarrier.io/article/66-ho...-coupon-carrier |
Lo-Fi Version | Time is now: 17th April 2024 - 10:39 PM |