Hi,
I have a questions about subscriptions.
How we define the email that notifies a customer that his subscription is about to renew?
We are using AC 7.0
I would appreciate any help. I have searched through the forums and saw very little information regarding subscriptions.
may be this options exists in latest AC upgrades ?
Subscriptions - automate email
Re: Subscriptions - automate email
This functionality is currently not available in AbleCommerce. You need to do some custom work. Here is one solution first create a timed event trigger, write your custom code to filter subscriptions, register code to timed event, create an Email template for subscription expiry alert and put some code to trigger it for desired subscriptions. Please read following threads
How to trigger a timed event?
viewtopic.php?f=42&t=11433
How to find subscription going to expire?
How to create Email Template?
viewtopic.php?f=44&t=11483
How to send manual Email?
viewtopic.php?f=42&t=8682
How to trigger a timed event?
viewtopic.php?f=42&t=11433
How to find subscription going to expire?
Code: Select all
DateTime dateTime = CommerceBuilder.Utility.LocaleHelper.LocalNow;
//expring in next 15 days
dateTime = dateTime.AddDays(15);
CommerceBuilder.Orders.SubscriptionCollection subscriptions = CommerceBuilder.Orders.SubscriptionDataSource.LoadForCriteria(" ExpirationDate < '"+dateTime.ToString()+"' ");
viewtopic.php?f=44&t=11483
How to send manual Email?
viewtopic.php?f=42&t=8682
Re: Subscriptions - automate email
Thanks mazhar. It was helpful.