View Single Post
  #112  
Old 07-22-2007, 03:26 PM
  Qdox's Avatar 
Qdox Qdox is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 57
 

Default Re: A simple fix to pretty the checkout up a little

I just bought X-cart I spend like 3 hours trying to figure it out how to install this product. Below my notes
1- Need to make sure if you're be using Fast Lane or Regular Checkout. I first implemented in regular and didn't work and using the webmaster figured it out the changes needed to be make using the instructions explained below.
2- In addition to the instructions below you need to fix 2 things here: First then changes to the CSS file needs to be added to the skin1_c.ss on the Fast Lane directory (/skin1/modules/Fast_Lane_Checkout). Second you need to update the images path like this: url(../../images/sbhead-r.gif).

That's it and you should be set!!!


Quote:
Originally Posted by Terrybraley
If your useing 4.1.8 and Fastlane Checkout, this is how I used Sexy Checkout Mod.

Add this to your
skin1/skin1.css

/*sexy checkout mod */
.sidebox {
margin: 0 auto;
width: 28em;
background: url(images/sbbody-r.gif) no-repeat bottom right;
font-size: 100%;
}
.boxhead {
background: url(images/sbhead-r.gif) no-repeat top right;
margin: 0;
padding: 0;
text-align: left;
}
.boxhead h2 {
background: url(images/sbhead-l.gif) no-repeat top left;
margin: 0;
padding: 22px 30px 5px;
color: black;
font-weight: bold;
font-size: 1.2em;
line-height: 1em;
text-shadow: rgba(0,0,0,.4) 0px 2px 5px;
}
.boxbody {
background: url(images/sbbody-l.gif) no-repeat bottom left;
margin: 0;
color: black;
padding: 5px 30px 31px;
}

-------------------------------------------------------------------------------------
in
skin1/modules/Fast_Lane_Checkout/

add
sexy_customer_details_html.tpl

{* $Id: sexy_customer_details_html.tpl,v 1 2007/06/29 15:15:52 max Exp $ *}
<table width="100%" cellspacing="0" cellpadding="10">

<tr>
<td valign="top" width="50%">
</tr>
<tr>
<td><div class="sidebox">
<div class="boxhead"><h2>{$lng.lbl_billing_address}</h2></div>
<div class="boxbody">

{if $userinfo.default_fields.firstname}{$userinfo.b_fi rstname}{if
$userinfo.default_fields.lastname} {$userinfo.b_lastname}{/if}{/if}
<br/>
{if $userinfo.default_fields.b_address}{$userinfo.b_ad dress} <br/> {/if}

{if $userinfo.b_address_2}{$userinfo.b_address_2}<br/>{/if}

{if $userinfo.default_fields.b_city}{$userinfo.b_city} {/if}
{if $userinfo.default_fields.b_state}{$userinfo.b_stat ename} {/if}
{if $userinfo.default_fields.b_zipcode}{$userinfo.b_zi pcode} <br/> {/if}

{if $userinfo.default_fields.b_country}{$userinfo.b_co untryname} <br/>{/if}
<br/>
{if $userinfo.default_fields.email}{$lng.lbl_email}: {$userinfo.email} <br/> {/if}
{if $userinfo.default_fields.phone} {$lng.lbl_phone}: {$userinfo.phone} <br/>{/if}

</div>
</div></td>
<td><div class="sidebox">
<div class="boxhead"><h2>{$lng.lbl_shipping_address}</h2></div>
<div class="boxbody">


{if $userinfo.default_fields.firstname}{$userinfo.s_fi rstname}{if
$userinfo.default_fields.lastname} {$userinfo.s_lastname}<br/> {/if}{/if}

{if $userinfo.default_fields.s_address}{$userinfo.s_ad dress}<br/> {/if}
{if $userinfo.s_address_2}{$userinfo.s_address_2}<br/> {/if}

{if $userinfo.default_fields.s_city}{$userinfo.s_city} {/if}
{if $userinfo.default_fields.s_state}{$userinfo.s_stat ename} {/if}
{if $userinfo.default_fields.s_zipcode}{$userinfo.s_zi pcode} <br/> {/if}
{if $userinfo.default_fields.s_country}{$userinfo.s_co untryname} <br/> {/if}
<br/>
<br/>
<br/>
</div>
</div></td>
</tr>
</table>

---------------------------------------------------------------------------

open

/modules/Fast_Lane_Checkout/checkout_3_place.tpl

find
{include file="modules/Fast_Lane_Checkout/customer_details_html.tpl"}

replace
{include file="modules/Fast_Lane_Checkout/sexy_customer_details_html.tpl"}


-----------------------------------------------------------------------------
dont forget the images and you may have to change your css to your text colors.
__________________
QdoxGroup
X-Cart version 4.1.8 Pro
HandsOnWebHosting.
Web server Apache/2.0.52 (Red Hat)
http://www.justinthenet.com/
Reply With Quote