How to add the bill to address to the vendor notification

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
User avatar
Kmbsjb
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu May 20, 2010 8:29 am
Location: West Virginia
Contact:

How to add the bill to address to the vendor notification

Post by Kmbsjb » Wed Jul 07, 2010 9:06 am

Good afternoon all and thanks for all the great info so far. I am having some issuse with the vendor notification with orders that are paid at one place and shipped to another. How can I send an invoice to the vendor that is just like the one I can print from the order module page? My vendor is having a problem and I was just going to add the following text to the vendor notification after the ship to part:

Code: Select all

<td>
<strong>Bill To:</strong>
<div style="padding-left:30px;">
<p>[BillFirstName] [BillLastName]<br>[BillingAddress]</p>
</div>
</td>
After seeing an invoice though I would rather send an invoice to the vendor so that they get all the info. Is this possable and if so could someone point me in the right direction so that I may rectify this situation. If not would this bit of code add the bill to address to the notification, please and thank you.
Kristoffer Bowyer
Living in the land of the lost!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to add the bill to address to the vendor notification

Post by mazhar » Thu Jul 08, 2010 6:04 am

Instead of following code

Code: Select all

<p>[BillFirstName] [BillLastName]<br>[BillingAddress]</p>
You can try

Code: Select all

<p>$order.BillToFirstName $order.BillToLastName<br>$order.FormatAddress(true);</p>

User avatar
Kmbsjb
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu May 20, 2010 8:29 am
Location: West Virginia
Contact:

Re: How to add the bill to address to the vendor notification

Post by Kmbsjb » Thu Jul 08, 2010 7:21 am

Thank you I will try that.

As for getting a copy of the invoice to the vendor, without printing it and sending it, is there a way to set it up so that it sends automatically just like the order notification?
Kristoffer Bowyer
Living in the land of the lost!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to add the bill to address to the vendor notification

Post by mazhar » Thu Jul 08, 2010 9:50 am

try simply putting keyword vendor in CC address of order confirmation Email. If this works then it will send copy of order confirmation to vendor as well. If it doesn't work then try putting customer,vendor in to address of order confirmation template.

User avatar
Kmbsjb
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu May 20, 2010 8:29 am
Location: West Virginia
Contact:

Re: How to add the bill to address to the vendor notification

Post by Kmbsjb » Thu Jul 08, 2010 10:04 am

Thank you again
Kristoffer Bowyer
Living in the land of the lost!

Post Reply