Page 1 of 1

Vendor notification email template

Posted: Wed Sep 10, 2008 8:06 pm
by goplu
I have the original vendor notification email template, but I am not able to get the second table appearing in the email. I can see it in the admin editing and Visual Studio properly but not after it is sent as an email. I added a screen shot of it. The company info is correct. Thanks.

Re: Vendor notification email template

Posted: Wed Sep 10, 2008 8:57 pm
by mazhar
It may be due to the fact that your order has no shipment. Make sure that your order has at least one shipment.

Re: Vendor notification email template

Posted: Wed Sep 10, 2008 9:06 pm
by goplu
Do You mean the shipping method? If yes, I have a method setup for the orders.

Re: Vendor notification email template

Posted: Wed Sep 10, 2008 9:23 pm
by mazhar
I mean that your order contain some shipable order item.

Re: Vendor notification email template

Posted: Fri Sep 12, 2008 10:59 pm
by goplu
The answer for the shippable is "yes". I don't know if this is all I needed to do. It was sending the vendor notification properly before. I don't know what happened later. I was trying to modify it, but all the time working with a copy template. Thanks.

Re: Vendor notification email template

Posted: Mon Sep 15, 2008 1:32 am
by mazhar
Yes i mean to make some item shippable and then place the order. Give a try by setting shippable to yes.

Re: Vendor notification email template

Posted: Mon Sep 15, 2008 11:46 am
by goplu
I tried but it didn't work. In fact this option is default "yes". I didn't make any change, as I said I had been able to send it properly before. It is strange. Thanks again.

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 12:04 am
by mazhar
Hmm i got confused...
Could you provide store URL here.

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 3:13 pm
by goplu
it is centexeats.com

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 9:32 pm
by mazhar
Your shipping related configurations seems to be OK. I have just tested the vendor notification on the final version and its working fine. I used the Order Paid trigger for Vendor Notification template and here is what i got in Email. Did you modified the template code?

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 10:30 pm
by goplu
I don't think I have modified. Not sure though. I have the same template which is posted here. If you can post the template of final version, I will check it line by line. I am also trying to create a fake store, but I am having issues with it too. It is a free account at godaddy. I am not sure if it is the problem with the installation. Thanks.

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 10:52 pm
by mazhar
Here is the code of Vendor Notification template

Code: Select all

<html>
<head>
<style type="text/css">
TABLE.Email {
width: 640px;
padding: 5px;
margin: 0px;
border: 1px solid #5872CB;
}
TABLE.Email TH {
font-weight: bold;
font-size: 12px;
color: #ffffff;
font-family: Arial, Verdana, Sans-Serif;
font-style: strong;
background-color: #304FBA;
text-align: center;
text-decoration: none;
padding: 5px;
}
TABLE.Email TD {
font-weight: normal;
font-size: 12px;
color: #000000;
font-family: Arial, Verdana, Sans-Serif;
background-color: #ffffff;
text-align: left;
text-decoration: none;
padding: 3px;
}
</style>
</head>
<body>
<table class="Email">
<tr>
<td valign="top"><strong>$store.Name</strong><br>
<div style="padding-left:30px;">
$store.DefaultWarehouse.FormatAddress(true)
<BR>Phone: $store.DefaultWarehouse.Phone
<BR>Email: $store.DefaultWarehouse.Email
</div>
</td>
<td align="right">
<H1>Packing Slip</H1>
<strong>Order Number</strong>: $order.OrderId<br>
<strong>Order Date</strong>: ${order.OrderDate}</td>
</tr>
</table>
<table class="Email">
#foreach( $shipment in $order.Shipments )
<tr>
<td>
<strong>Ship To:</strong>
<div style="padding-left:30px;">
<p>$shipment.FormatToAddress(true)
<BR>Phone: $shipment.ShipToPhone
<br><strong>Address Type:</strong> 
#if ($shipment.ShipToResidence) Residential #else Commercial #end
#if ($shipment.ShipMessage.Length > 0) <br>
<strong>Message:</strong> $shipment.ShipMessage
#end</p>
</div>
</td>
</tr>
<tr>
<td>
<table width="100%" border="2" align="center">
<tr>
<th class="Email">SKU</th>
<th class="Email">Product Name</th>
<th class="Email">Options</th>
<th class="Email">Quantity</th>
</tr>
#foreach( $orderItem in $order.Items )
#if ($orderItem.OrderShipmentId == $shipment.OrderShipmentId)
<tr>
<td style="text-align: center;">$orderItem.Sku</td>
<td>$orderItem.Name<br><font size=2><strong>$orderItem.LineMessage</strong>
#if ($orderItem.Inputs.Count > 0)
  #foreach( $input in $orderItem.Inputs )
    <strong>$input.Name</strong><strong>:</strong> 
	$input.InputValue
  #end
#end
</font></td>
<td>$orderItem.VariantName</td>
<td style="text-align: center;">$orderItem.Quantity</td>
</tr>
#end
#end
</table>
</td>
</tr>
<tr>
<td style="text-align: center;">
<br>
Thank you for your order.  If you have any questions, please contact
$store.Name<br></td>
</tr>
#end
</table>
</body>
</html>

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 11:02 pm
by goplu
Fixed. Thank you very much.

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 11:17 pm
by mazhar
sweet!

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 11:20 pm
by mazhar
I am also trying to create a fake store, but I am having issues with it too. It is a free account at godaddy. I am not sure if it is the problem with the installation.
I am not sure but does the free package support AbleCommerce7 requirements.

Re: Vendor notification email template

Posted: Tue Sep 16, 2008 11:43 pm
by Shopping Cart Admin
Hello,

I can help with that one, if you have the free godaddy hosting WITH the 'godaddy' banner at the top of each page it will mess things up! Pony up the $3.99 for their full blown hosting package.