Email Templates in lw.net don't actually exist

More a heads up for anyone else using LW.net occassionally to process orders... 


We've just discovered that the reason our customers have been complaining about not receiving tracking information is that LW.net hasn't imported any of the settings across from the desktop client.


So, every single one of the orders we've processed via .net has resulted in zero notification and unsurprisingly, customers asking what's happened to their orders.


Doubtless there's a technical reason for this lack of porting but it does mean folks are likely getting caught out. Hope that helps someone else understand why they might be hitting complaints about lack of notifications.

This is getting to be an interesting experience in how not to port things... 

Not only are templates not ported, but the code itself has changed so there is not simple copy/paste of old code from Desktop LW to LW.net


This is further complicated by the fact that the support resources are still referencing old documentation that doesn't relate to LW.net so in the interests of anyone else hitting this issue...


Documentation is here:
http://www.linnworks.com/support/emails/email-notifications


Almost ALL codes have changed with code hacks previously discussed (in the old forums) no longer applicable (for lw.net).


Some of the codes under this section:

http://www.linnworks.com/support/emails/email-notifications/editing-email-templates
... are wrong and won't work so you need to use the "Visual" editor and the built in tag inserter to make sure you have the right tag and aren't messing up.


Worth also noting that the syntax editor for the sending conditions is not working properly either... It authenticates for old code that doesn't work so it's basically broken at present.


For anyone interested in an example of before and after here's a few to help... Please note these are still not 100% functional as we can't get the bloody things to send as yet... 


Source<>'AMAZON' AND ShippingMethod<>'Digital' AND ShippingMethod<>'Collection'

...converts to...

[{Source}]<>"AMAZON" AND [{ShippingMethod}] <> "Digital" AND [{ShippingMethod}] <> "Collection"


and...

Dear, [{ORDER.CFULLNAME}].

Thank you for your recent purchase from OctoInkjet on [{ORDER.DRECEIEVEDDATE}].
Order reference: [{ORDER.REFERENCENUM}]  (Internal ref:[{ORDER.NORDERID}])

We are happy to inform you that the order has now been despatched via: "[{ADD-IN.SHIPPINGMETHOD}]" on [{ORDER.DPROCESSEDON}]

To the following address:
[{ORDER.CSHIPPINGADDRESS}]
EVAL<IIF["[{ORDER.POSTALTRACKINGNUMBER}]"="","",concat["\r\n\r\nTracking number: ","[{ORDER.POSTALTRACKINGNUMBER}]","\r\n\r\nPlease see this guide for information on how to track your order:\r\nhttp://www.foo.co.uk/tracking\r\n\r\n"]]>EVAL<IIF["[{ORDER.SOURCE}]"="EBAY","\r\nThank you for your eBay order, we trust you'll find everything to your satisfaction and look forward to your subsequent feedback.",""]>EVAL<IIF["[{ORDER.SOURCE}]"="AMAZON","\r\nThank you for purchasing via Amazon. 
Please remember to leave us feedback for your order, and if possible for the product(s) you've purchased.",""]>EVAL<IIF["[{ORDER.SOURCE}]"="INTERSPIRE_V","\r\nThank you for visiting our Foo store and we look forward to helping you in the future.",""]>EVAL<IIF["[{ORDER.SOURCE}]"="DUMMY","Source releated text will go here",""]>

Regards,

Foo

 becomes...

Dear [{BillingFullName}].

Thank you for your recent order placed on [{ReceivedDate}].
Order reference: [{ReferenceNumber}] (Internal ref:[{SecondaryReference}])

We are happy to inform you that the order has now been despatched to the following address:

[{EVAL}]IIF[[{DeliveryFullName}]="","",[{DeliveryFullName}]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryCompany}]="","",Concat["
",[{DeliveryCompany}]]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryAddress1}]="","",Concat["
",[{DeliveryAddress1}]]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryAddress2}]="","",Concat["
",[{DeliveryAddress2}]]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryAddress3}]="","",contact["
",[{DeliveryAddress3}]]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryTown}]="","",concat["
",[{DeliveryTown}]]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryRegion}]="","",concat["
",[{DeliveryRegion}]]][{ENDEVAL}][{EVAL}]IIF[[{DeliveryCountry}]="","",concat["
",[{DeliveryCountry}]]][{ENDEVAL}][{EVAL}]IIF[[{BillingPostalCode}]="","",concat["
",[{BillingPostalCode}]]][{ENDEVAL}]

Via: [{EVAL}]IIF[[{ShippingMethod}]="UPS","UPS/USPS Priority (Global Secure)",[{ShippingMethod}]][{ENDEVAL}] 
On: [{ProcessedOn}][{EVAL}]IIF[[{ShippingMethod}]="UPS"," (See note below)",""][{ENDEVAL}]
[{EVAL}]IIF[[{PostalTrackingNumber}]="","",Concat["Tracking number: ",[{PostalTrackingNumber}],"

Please see this guide for information on how to track your order:\r\nhttp://www.foo.co.uk/tracking

"]][{ENDEVAL}][{EVAL}]IIF[[{Source}]="EBAY","
Thank you for your eBay order, we trust you'll find everything to your satisfaction and look forward to your subsequent feedback.",""][{ENDEVAL}][{EVAL}]IIF[[{Source}]="AMAZON","
Thank you for purchasing via Amazon. 
Please remember to leave us feedback for your order, and if possible for the product(s) you've purchased.",""][{ENDEVAL}][{EVAL}]IIF[[{Source}]="INTERSPIRE_V","
Thank you for visiting our Foo store and we look forward to helping you in the future.",""][{ENDEVAL}][{EVAL}]IIF[[{SubSource}]="http://www.foo.co.uk","Thank you for visiting our store at foo.co.uk and we look forward to helping you with your foo requirements in the future",""][{ENDEVAL}]

Regards,

Foo

 (with some adjustments as we've updated the template)


All in all it's pretty frustrating to have a situation where this level of change hasn't been highlighted and more so because there's no way of testing the system properly to see if it works without creating dummy orders...

Hey ho though... we're getting there... slowly.


Login to post a comment