Order confirmation emails

Posted By TheCalicoTree Tue 16 Aug 2011
Add to Favorites0
Author Message
TheCalicoTree
 Posted Tue 16 Aug 2011
Supreme Being

Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)

Group: Forum Members
Last Active: Thu 18 Jun 2015
Posts: 98, Visits: 1,382
I have just started testing the order process and the emails I am receiving both as customer and vendor are only displaying the folliwing.

Order from Kartris (#7)

 

The following order was placed at your store:

 

Order Number: 7

Order Number: 7

I was expecting to see a list of items at the very least. Do I need to change a template somewhere?

Thanks
Paul
 Posted Wed 17 Aug 2011
große Käse

große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)

Group: Administrators
Last Active: Fri 15 Sep 2023
Posts: 806, Visits: 2,737
I think the code responsible is in Checkout.aspx.vb (line 816-825):

If clsPlugin.GatewayName.ToLower = "po_offlinepayment" Then
    strCallBodyText += GetGlobalResourceObject("Kartris", "ContentText_OrderNumber") & ": " & O_ID & vbCrLf & vbCrLf
    strCallBodyText += GetGlobalResourceObject("Kartris", "FormLabel_EmailAddress") & ": " & objOrder.CustomerEmail & vbCrLf & vbCrLf
    If Not String.IsNullOrEmpty(UC_KartrisLogin.UserPassword) Then
        strCallBodyText += GetGlobalResourceObject("Kartris", "ContentText_CustomerCode") & ": " & UC_KartrisLogin.UserPassword
    End If
Else
    strCallBodyText = CStr(tblOrder.Rows(0)("O_Details"))
End If


I'm not sure why this is set differently for PO (purchase order, orders without payment where payment would be made separately offline).

Can you try replacing the whole section with just this:

strCallBodyText = CStr(tblOrder.Rows(0)("O_Details"))


This should I think treat PO orders like any other, and put full order details.

I have a feeling the intention might have been to distinguish PO orders from those where payment is actually made online, since one might not want to dispatch a PO order immediately if the expectation is for a customer to call to make payment for example. But I think it would be better served perhaps with a clear indication at the top of the mail [PO ORDER, NO PAYMENT MADE ONLINE] or similar.

Any feedback appreciated...


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Wed 17 Aug 2011 by Paul
TheCalicoTree
 Posted Wed 17 Aug 2011
Supreme Being

Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)Supreme Being - (62,936 reputation)

Group: Forum Members
Last Active: Thu 18 Jun 2015
Posts: 98, Visits: 1,382
Great, this has done the trick. Was line 775-784 but I'm guessing that is because I have not run the latest upgrade?

As this code effects both the customer and vendor email I would suggest a change to the code so that the customer is always emailed details.  It makes sense for the vendor to know the full details too so perhaps a header or email subject clearly stating the PO status of the order.

Thanks for your help
Paul
 Posted Thu 18 Aug 2011
große Käse

große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)große Käse - (449,492 reputation)

Group: Administrators
Last Active: Fri 15 Sep 2023
Posts: 806, Visits: 2,737
Yes, that makes perfect sense... I'll log a task for this.

--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top