Car Dealership Quote Form - ASP - Email results in XML/ADF 1.0 is project number 363652
posted at Freelancer.com. Click here to post your own project.
Bid Count: 7
Average Bid:
$ 91
01/06/2009 at 15:44 EST
Project Creator:
cliffmurphy
Employer Rating: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
(1 reviews)
12/30/2008 at 23:33 EST:
I should be clearer on what exactly needs to be done.
1. Customer arrives at get a quote form fills out the appropriate information.
2. submitted to an asp script which sends minimally 2 different emails: 1 formatted in XML/ADF 1.0 and 1 formated in plain text.
Here is what the adf email that will be going to the CRM should be like:
- <adf>
– <prospect>
<requestdate>6/28/2000 7:17:22 PM</requestdate>
– <customer>
– <contact>
<name type="first">John</name>
<name type="last">Doe</name>
– <address>
<street>555 Main Street</street>
<city>Houston</city>
<regioncode>TX</regioncode>
<postalcode>77079</postalcode>
<country>USA</country>
</address>
<phone type="voice">(713) 555-6666</phone>
<email>John@nowhere.com</email>
</contact>
– <timeframe>
<description>One week</description>
</timeframe>
<comment>Keyless entry essential</comment>
</customer>
– <vehicle type="new" interest="buy">
<make>Toyota</make>
<model>Camry</model>
<year>2000</year>
<trim>LX</trim>
<doors>4</doors>
<bodystyle>Luxury</bodystyle>
<transmission>5 Speed-Auto</transmission>
– <colorcombination>
<interiorcolor>Gray</interiorcolor>
<exteriorcolor>Blue</exteriorcolor>
</colorcombination>
</vehicle>
– <vendor>
<vendorname>Dealer A</vendorname>
– <contact>
<email>Sales@DealerA.com</email>
</contact>
</vendor>
– <provider>
<name part="full">Acme Auto Store</name>
<url>www.acmeautostore.com</url>
<email>service@acmeautostore.com</email>
</provider>
</prospect>
</adf>
The plain text version is just a non encoded result of the form that would be sent to a few people at the dealership.
This article seems to really be helpful - but beyond my ability:
http://microsoft.apress.com/asptodayarchive/72166/generating-xml-based-auto-request-quotes-from-the-internet
Also, if you look at our current inventory page at www.driveclassictoyota.com and view source an inventory detail page you will see how they do it:
<div id="nav_panel" class="nav_panel">
<div class="link_panel_header" id="quick_quote_link" onmouseover="this.style.cursor='pointer'; this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="show_div('quick_quote_panel');" style="display:none;">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="panel_icon_td"><img src= "http://backwebs.homenetinc.com/common/detail/images/div_forms_panel/TK_quote.gif" style="padding-right:10px;" /></td>
<td class="link_panel_header_text" id="me">Quick Quote</td>
</tr>
</table>
</div>
<div class="link_panel" id="quick_quote_panel" style="display:none;">
<form name="quick_quote_form" action="email.asp" method="post" onsubmit="return panel_checkForm(this);">
<input type="hidden" name="sender" value="website@backwebs.homenetinc.com" />
<input type="hidden" name="to" value="classicautogroup@leads.gs.reyrey.com" />
<input type="hidden" name="subject" id="subject" value="Website Submission" >
<input type="hidden" name="redirect" value="./thanks.asp?locationid=" />
<input type="hidden" name="loc" value="ClassicBMWofMentor" />
<input type="hidden" name="year" value="2008" />
<input type="hidden" name="make" value="BMW" />
<input type="hidden" name="model" value="5-Series" />
<input type="hidden" name="stocknum" value="B906" />
<input type="hidden" name="vehicleVin" value="WBANV93548CZ68516" />
<input type="hidden" name="extColor" value="Black Sapphire Metallic" />
<input type="hidden" name="siteID" value="" id="siteID" />
<input type="hidden" name="form_name" value="Quick Quote" id="form_name" />
<input type="hidden" name="mail_format" value='<?xml version="1.0" encoding="utf-8"?>
<?adf version="1.0"?>
<adf>
<prospect>
<requestdate>12/30/2008 11:30:14 PM</requestdate>
<vehicle interest="buy" status="NEW">
<year>2008</year>
<make>BMW</make>
<model>5-Series</model>
<vin>WBANV93548CZ68516</vin>
<stock>B906</stock>
<trim>535xi</trim>
<doors>4</doors>
<bodystyle>4dr Car</bodystyle>
<transmission>Automatic</transmission>
<odometer units="miles">11506</odometer>
<colorcombination>
<exteriorcolor>Black Sapphire Metallic</exteriorcolor>
</colorcombination>
<price type="" currency="USD"></price>
</vehicle>
<customer>
<contact>
<name part="full">#first_name# #last_name#</name>
<email>#email#</email>
<phone type="voice" time="morning">#dayphone#</phone>
<phone type="voice" time="evening">#eveningphone#</phone>
<address type="home">
<street line="1">#address#</street>
<city>#city#</city>
<regioncode>#state#</regioncode>
<postalcode>#zip#</postalcode>
<country>US</country>
</address>
</contact>
<comments>
Comments: #comments#
Below filled in only if applies:
Preferred Appointment Date: #appointment_date#
Preferred Appointment Time: #appointment_time#
Preferred Contact: #preferred_time#
Offer: #offer#
</comments>
<timeframe>
<description>#purchase_time#</description>
</timeframe>
</customer>
<vendor>
<vendorname>#loc#</vendorname>
</vendor>
<provider>
<name part="full">TKCarsites Website</name>
<service>Vehicle Details Page - #form_name#</service>
</provider>
</prospect>
</adf>
' />
First Name <br /> <input type="text" class="panel_input_large" id="first_name" name="first_name" /> <br />
Last Name <br /> <input type="text" class="panel_input_large" id="last_name" name="last_name" /> <br />
Email <br /> <input type="text" class="panel_input_large" id="email" name="email" /> <br />
Phone <br /> <input type="text" class="panel_input_large" id="dayphone" name="dayphone" /> <br />
<input type="submit" value="Send" />
</form>
</div>
12/31/2008 at 7:59 EST:
Also wanted to post that this could be done in ASP or ASP.NET becuase godaddy supports both. Thanks,
|
Job Type |
|