How to display the date the Subscription expires, in the cancellation email.

Clay Nichols's Avatar

Clay Nichols

31 May, 2012 07:10 PM

I'm trying to update the Cancellation email because some customers were confused and thought the subscription would stop IMMEDIATELY rather than on their next scheduled bill date.

What field will show the date that their subscription will stop working after being cancelled?

I tried using {$invoice.billingDatetime} but that showed a not very readable datetime all crammed together. Also I wasn't sure if that would still show the next scheduled bill date AFTER cancellation.

  1. Let's assume the paid on May 1 and cancelled on May 10 and then we send them the cancellation email. What will l {$invoice.billingDatetime} show ? (May 1, null, or June 1?)
  2. Is there a way to show just the DATE ?
  1. Support Staff 1 Posted by Marc Guyer on 01 Jun, 2012 01:53 PM

    Marc Guyer's Avatar

    You can format dates like this:

    {$currentInvoice.billingDatetime|date_format:"%m/%d/%Y"}
    

    That, among other things is documented here:

    http://www.smarty.net/docs/en/smarty.for.designers.tpl

    Let's assume the paid on May 1 and cancelled on May 10 and then we send them the cancellation email. What will l {$invoice.billingDatetime} show ? (May 1, null, or June 1?)

    What you want to use is $currentInvoice.billingDatetime

  2. Marc Guyer closed this discussion on 01 Jun, 2012 01:53 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM