| View previous topic :: View next topic |
| Author |
Message |
syber
Joined: 16 Jan 2006 Posts: 8
|
Posted: Mon Jan 16, 2006 9:17 am Post subject: Email Shipping Notification for eBay |
|
|
The current template in for the eBay shipping notification lists only an order number. I tried to edit it to include the ebay auction number and title (Your eBay auction item [u]number/s "X "title of auction" has/have[/u] shipped)but really messed up the template. It is now unusable.
Any assistance here to re-do the template to reflect my needs.
Thanks |
|
| Back to top |
|
Wes Site Admin
Joined: 07 Oct 2002 Posts: 7427
|
Posted: Tue Jan 17, 2006 10:42 am Post subject: |
|
|
Hello,
Have you tried using the Invoices\Shipment Notification template? This template contains an entire invoice with order information, as well as shipment/tracking information if it exists for an order.
Please let us know if you need further assistance.
Thanks,
Wes
Interapptive, Inc. |
|
| Back to top |
|
syber
Joined: 16 Jan 2006 Posts: 8
|
Posted: Tue Jan 17, 2006 4:05 pm Post subject: |
|
|
Thanks. That works fine.
Two other questions:
1. How do I restore the shipping notification template I messup up to the original (default)? Can I download it from somewhere?
2. An xml editor is mentioned in the help section. It is suppossed to be wysiwyg. Where is it? |
|
| Back to top |
|
Wes Site Admin
Joined: 07 Oct 2002 Posts: 7427
|
Posted: Tue Jan 17, 2006 4:45 pm Post subject: |
|
|
Hello,
The email editor using the Compose Email feature in ShipWorks is WYSIWYG. The XML editor is currently a text editor that is built in. We hope to build in support for WYSIWYG XML editing in a future update.
I will post the entire original/stock email template in the next post, as code.
Please let us know if you have further questions.
Thanks,
Wes
Interapptive, Inc. |
|
| Back to top |
|
syber
Joined: 16 Jan 2006 Posts: 8
|
Posted: Wed Jan 18, 2006 11:35 am Post subject: |
|
|
| I was wondering when you will post, as you indicated, the code for repairing the shipping notification email. Thanks! |
|
| Back to top |
|
syber
Joined: 16 Jan 2006 Posts: 8
|
Posted: Wed Jan 18, 2006 11:36 am Post subject: |
|
|
| I was wondering when you will post, as you indicated, the code for repairing the shipping notification email. Thanks! |
|
| Back to top |
|
Wes Site Admin
Joined: 07 Oct 2002 Posts: 7427
|
Posted: Wed Jan 18, 2006 11:39 am Post subject: |
|
|
Below is the entire code for the default "Example\Email Notification" template that is included with ShipWorks.
| Code: | <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sw="http://www.interapptive.com/shipworks" extension-element-prefixes="sw">
<xsl:import href="System\Common" />
<xsl:output method="html" encoding="utf-8" />
<sw:settings>
<sw:email>
<sw:default>
<sw:includeInMenu>True</sw:includeInMenu>
<sw:subject>Your Order {//Order/Number} Has Shipped</sw:subject>
</sw:default>
</sw:email>
<sw:general>
<sw:context>order</sw:context>
</sw:general>
</sw:settings>
<xsl:template match="/">
<html>
<head>
<title>Shipment Notification</title>
<style>
body, td, table, div { font: 10pt Arial;}
</style>
</head>
<body>
<xsl:variable name="order" select="//Order[1]" />
<xsl:variable name="address" select="$order/Address[@type='bill']" />
<xsl:value-of select="$address/FirstName" />,
<p>
Your order <xsl:value-of select="$order/Number" /> has shipped and the tracking information is below. Thank you for your business!
</p>
<p>
<xsl:if test="count($order//Shipment[IsProcessed = 'true']) = 0">
<i>(No shipments)</i>
</xsl:if>
<xsl:for-each select="$order//Shipment[IsProcessed = 'true']">
Shipped on <b><xsl:value-of select="sw:ToShortDate(ShippedDate)" /></b>
using <b><xsl:value-of select="ServiceUsed" /></b>: <b><xsl:call-template name="outputTrackingLink" /></b>
<br />
</xsl:for-each>
</p>
<p>
Sincerely,<br />
<xsl:value-of select="//Store/StoreName" />
</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet> |
Thanks,
Wes
Interapptive, Inc. |
|
| Back to top |
|
auctiontrove
Joined: 21 Feb 2006 Posts: 31
|
Posted: Sat Feb 25, 2006 3:12 pm Post subject: |
|
|
| Hi. I had the same question as this user did. I brought up the template as you told him to do (Invoices\Shipment Notification template). The only problem with this is, there is no tracking info on this invoice. How do I put that in this template? Or how do I just add the item number and auction title in the example/email/shipment notification? Thanks for your help. |
|
| Back to top |
|
Wes Site Admin
Joined: 07 Oct 2002 Posts: 7427
|
Posted: Sat Feb 25, 2006 6:26 pm Post subject: |
|
|
Hello,
Tracking information should be showing if you have created a shipment for the order using the built in UPS or USPS support. Are you sure you are viewing an order with a processed shipment?
Thanks,
Wes
Interapptive, Inc. |
|
| Back to top |
|
auctiontrove
Joined: 21 Feb 2006 Posts: 31
|
Posted: Mon Feb 27, 2006 11:06 pm Post subject: |
|
|
| that was the problem, i wasnt viewing a processed order. thanks. |
|
| Back to top |
|
|