Page 1 of 1
Email customers with abandoned baskets using saved templates
Posted: Sun Nov 02, 2008 7:36 pm
by draneb
I had this feature in 5.5 with some custom code Judy had written.
I could view the abandoned baskets and put a check in the checkbox next to the ones we wanted to send emails to. Then, we could assign a pre-made template and email them a coupon code. This worked quite well! We got a lot of customers to return just by offering them an additional 5% or 10% off.
My templates even imported with the dataport utility. I just need the feature again.

Re: Email customers with abandoned baskets using saved templates
Posted: Mon Nov 03, 2008 7:33 am
by jmestep
Web2Market has asked me to put together a list of add-ins to develop, like they did the ones for ColdFusion. This is one of them, so hopefully we'll have it out fairly soon.
Re: Email customers with abandoned baskets using saved templates
Posted: Mon Nov 03, 2008 8:17 am
by Robbie@FireFold
I have someone doing this by hand right now. I would love some automation here!
Re: Email customers with abandoned baskets using saved templates
Posted: Mon Nov 03, 2008 8:48 am
by mazhar
I think you can send the Email alerts to those customers who are already registered and have abandoned baskets. In this case you have their valid Email address to which you can send an Email. You can customize the abandoned baskets report to incorporate an other button field and available to those baskets owned by registered users. Once the button is available then you can put some custom code to load that basket. Then you can get the associated user from the loaded basket. Once you have the both you can create custom parameters for Email template and send Email template as suggested in below threads
viewtopic.php?f=42&t=8682
viewtopic.php?f=42&t=8571
Re: Email customers with abandoned baskets using saved templates
Posted: Mon Nov 03, 2008 2:25 pm
by William_firefold
Tried this but havent had much luck. So far ive added a link button on each row, and set it up like this:
Code: Select all
<asp:LinkButton ID="EmailLink" runat="server" Text='AB Email' SkinID="Button"
OnCommand="EmailButtonClick" CommandArgument='<%# GetUserIdString((int)Eval("BasketId")) %>'
EnableViewState="false"></asp:LinkButton>
Code: Select all
public void EmailButtonClick(object sender, CommandEventArgs e)
{
SendEmail((String)e.CommandArgument);
}
Code: Select all
private string GetUserIdString(int basketId)
{
Basket basket = BasketDataSource.Load(basketId);
if (basket != null)
{
User _user= UserDataSource.Load((basket.UserId));
return _user.Email;
}
return "";
}
I have gotten hung up there though as I cant seem to get data from it.
Re: Email customers with abandoned baskets using saved templates
Posted: Tue Nov 04, 2008 10:07 am
by mazhar
I tried this code and it seems that problem is here
Code: Select all
<asp:LinkButton ID="EmailLink" runat="server" Text='AB Email' SkinID="Button"
OnCommand="EmailButtonClick" CommandArgument='<%# GetUserIdString((int)Eval("BasketId")) %>'
EnableViewState="false"></asp:LinkButton>
Enable the view state and try the code
Re: Email customers with abandoned baskets using saved templates
Posted: Tue Nov 04, 2008 10:22 am
by mazhar
OK guys here is modified version of the
Daily Abandoned Baskets report which can send Email alert to the registered users having abandoned baskets.
viewtopic.php?f=47&t=8817