68 Classifieds Forums

MODIFICATION: Upgraded thanks.tpl page

This is a discussion on MODIFICATION: Upgraded thanks.tpl page within the v4 Modules / Modifications forums, part of the Help & Support category; I feel like 68 kind of leaves the customer hanging after they make a purchase for an ad. It doesn't ...


Go Back   68 Classifieds Forums > Help & Support > v4 Modules / Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-02-2008, 12:46 PM
cwp's Avatar
cwp cwp is offline
Senior Member
 
Join Date: Jun 2007
Posts: 297
Rep Power: 14
cwp is a jewel in the rough
Post MODIFICATION: Upgraded thanks.tpl page

I feel like 68 kind of leaves the customer hanging after they make a purchase for an ad. It doesn't send off an email to the customer with any additional information or a receipt. The thanks.tpl page gives the customers a 1 liner. So I plumped it up with some goodies. All you have to do is edit my copy of thanks.tpl with some information like your company name, email, and possibly change the border color of the table to your theme and upload it.

Now when the customer buys a listing they are greeted with some additional information and a receipt that they can print off.

I sent some email templates to eric which he is going to implant in a future version of 68 classifieds, one of which will send the customer a thank you/ order invoice email.

Let me know what you guys think of my upgraded thanks.tpl page, any feedback is welcome.


Replace the following code with your code in your template editor for the page: default/checkout/thanks.tpl
Code:
<!-- Thanks Page -->
<fieldset>
	<legend>{$smarty.const.LANG_THANK_YOU}</legend>
	<p>Thank you for your order {$firstname}! If you paid by credit card or another form of instant payment your listing should now be viewable online. To prevent duplicate orders please do not hit the back button. Please see below for your order details. It is recommended that you print this page for your records.</p>
<br /><br />
<center>
<table width="98%" cellpadding="6" cellspacing="0" style="border: 2px solid #888846;">
  <tr>
    <td width="100%">
<h1 style="font-family: Helvetica, Arial, sans-serif; font-size: 24px; font-weight: bold; color: #000000;">Order Receipt</h1>
<strong>Order ID:</strong> {$oID} &nbsp;&nbsp;<strong>Date:</strong> {$oDate} &nbsp;&nbsp;<strong>Status:</strong> {$oStatusText}
<br /><br />
<strong>Name:</strong> {$firstname} {$lastname}<br />
<strong>Address:</strong> {$address}<br />
<strong>City:</strong> {$city}<br />
<strong>State:</strong> {$state}<br />
<strong>Country:</strong> {$country}<br />
<strong>Postal Code:</strong> {$zip}<br />
<strong>Email:</strong> {$email}<br />
<strong>Phone:</strong> {$phone}<br />
<strong>Customer ID:</strong> {$username}<br /><br />

	<table width="100%" border="0" cellspacing="2" cellpadding="3"  class="">
<tr>
							<th>{$smarty.const.LANG_VERIFY_PACKAGE}</th>
							<th>Options</th>
							<th></th>
							<th width="5%" nowrap>{$smarty.const.LANG_PRICE}</th>
						</tr>
						<tr>
							<td valign="top">{$oProduct}</td>
							<td valign="top">
								{if $oBold=="Y"}
								- {$smarty.const.LANG_BOLD}<br />
								{/if}
								{if $oHighlighted=="Y"}
								- {$smarty.const.LANG_HIGHLIGHTED}<br />
								{/if}
								{if $oFeatured=="Y"}
								- {$smarty.const.LANG_TPL_FEATURED}
								{/if}
								{if $oType==3}
								- {$smarty.const.LANG_RENEWAL}
								{/if}
							</td>
							<td></td>
							<td valign="top" width="5%" align="right" nowrap>{$formatSubTotal|format_money}</td>
						</tr>
						<tr>
							<td colspan="4" style="border-bottom: 1px solid #ccc;"></td>
						</tr>
						{if $oDiscount > 0}
						<tr>
							<td></td>
							<td></td>
							<td align="right" width="5%" class="total" nowrap>{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON} <em>{$oCoupon}</em></td>
							<td width="5%" class="total" align="right" nowrap>-{$formatDiscount|format_money}</td>
						</tr>
						{/if}
						<tr>
							<td></td>
							<td></td>
							<td align="right" width="5%" class="total" nowrap><strong>{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</strong></td>
							<td width="5%" class="total" nowrap><strong><span id="total">{$fomatTotal|format_money}</span></strong></td>
						</tr>
					</table>
</td>
  </tr>
</table>
</center>
<br />
<p>If you selected to pay by check or money order your listing will not be viewable online to the public until payment has been received. You may make payments out to "Your Company Name" for the amount of {$fomatTotal|format_money} and mail to:</p>
<p><strong>Your Company Name</strong><br />
Your Address<br />
City, ST, Postal</p><br />

If you decide you would like to use a different method of payment or if you have any questions or concerns you may email us at <a href="mailto:youremailaddress">youremailaddress</a>.
<br /><br />
<center>
<p><strong>You may return to our website by <a href="{$smarty.const.URL}">clicking here.</a></strong></p>
</center>
</fieldset>


__________________
Version 4.0.3 Developer

Last edited by cwp; 04-02-2008 at 01:03 PM.
Reply With Quote
  #2  
Old 04-02-2008, 05:26 PM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,307
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Good idea and thanks for sharing.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
  #3  
Old 04-03-2008, 01:26 PM
cwp's Avatar
cwp cwp is offline
Senior Member
 
Join Date: Jun 2007
Posts: 297
Rep Power: 14
cwp is a jewel in the rough
Default

No problem. You're welcome to edit it and use it in the next version. If this is so we can delete this thread when that version comes out with this upgrade.
__________________
Version 4.0.3 Developer
Reply With Quote
  #4  
Old 04-04-2008, 02:31 AM
Junior Member
 
Join Date: Mar 2008
Posts: 11
Rep Power: 4
afrederc is on a distinguished road
Default

CWP, that is wonderful. Thanks for sharing as that makes the checkout look even better.
Adam
Reply With Quote
  #5  
Old 04-04-2008, 11:08 AM
cwp's Avatar
cwp cwp is offline
Senior Member
 
Join Date: Jun 2007
Posts: 297
Rep Power: 14
cwp is a jewel in the rough
Default

Quote:
Originally Posted by afrederc View Post
CWP, that is wonderful. Thanks for sharing as that makes the checkout look even better.
Adam
Thanks for your kind comments. I'm glad I made something of use to someone on these forums!

Also you can use the methods posted in this thread ->
Different thank you pages for different methods of payments?

to show different information for different gateways.
__________________
Version 4.0.3 Developer
Reply With Quote
  #6  
Old 04-06-2008, 11:33 PM
Junior Member
 
Join Date: Mar 2008
Posts: 11
Rep Power: 4
afrederc is on a distinguished road
Default

CWP,
I was messing around this weekend with the purple template as it seemed like it would be easier to use to make it match my existing site. I see that there aren't nearly as many tpl files for that template. Do you know how one would implement this on the purple template instead of the default template?
Thanks!
Adam
Reply With Quote
  #7  
Old 04-07-2008, 12:21 AM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,663
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

I havent played with the new templates at all but if they follow suit with the V3 templates a template file is first used if it exists in the chosen template folder and if it doesnt exist the template in the default is used.

This basically means that only the templates that change from the default actually have to be included in the new template.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #8  
Old 04-07-2008, 10:10 AM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,307
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Yes what Larry said is correct. The template system uses a layered approach and always reverts to the default if one can not be found.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
  #9  
Old 04-08-2008, 10:54 PM
Junior Member
 
Join Date: Mar 2008
Posts: 11
Rep Power: 4
afrederc is on a distinguished road
Default

Thanks a ton as I now am able to get that to work. I appreciate the help!
Adam
Reply With Quote
  #10  
Old 06-05-2008, 10:15 PM
outlook's Avatar
Senior Member
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 5
outlook is on a distinguished road
Default

Added it. Very nice! Thx.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MODIFICATION: Display your extra fields on the showlistings.tpl page cwp v4 Modules / Modifications 14 10-11-2008 11:16 AM
MODIFICATION: Changing the photo layout on the viewlisting.tpl page. cwp v4 Modules / Modifications 4 05-01-2008 01:17 AM
can I run scripts in an content page? dawyatt v3.1 Questions & Support 11 06-22-2007 03:50 PM
Problem getting page title flyingpylon v3.1 Questions & Support 5 10-19-2006 02:15 PM
Modification so the Add creation page Unregistered Pre Sales Questions 4 10-12-2006 12:05 PM


All times are GMT -4. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22