Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

A simple fix to pretty the checkout up a little

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 02-15-2007, 04:20 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

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

Finally! I've been wanting to use this ever since I first saw it, as it looks so much better! The Firefox issues were holding me back though as I know Firefox is quite popular.

First of all, I got the file that JWait kindly attached to his post. I've edited it slightly as to how we have addresses in the UK, but that shouldn't affect things. If it does, let me know.

In skin1/customer/main/checkout.tpl:

In a previous Post, we were just told to only change the {include line, so it would look like this:
Code:
<table cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <pre> {include file="customer/main/sexy_customer_details.tpl"} </pre> {if $paypal_express_active}
I changed it so it looks like this:
Code:
<table cellpadding="0" cellspacing="0" width="100%"> <tr> <td> {include file="customer/main/sexy_customer_details.tpl"} {if $paypal_express_active}
And it works fine for me.

Any problems, let me know. If you want the whole checkout.tpl file, just ask.
__________________
Location: UK
X-Cart: Gold 4.4.2, Status: Finalizing
Template: Colors
Free Mods: Colour Coded Orders, FAQ Manager
Paid Mods: None... yet.
Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13
Reply With Quote
  #102  
Old 03-02-2007, 02:41 PM
  Keys Care's Avatar 
Keys Care Keys Care is offline
 

eXpert
  
Join Date: Feb 2007
Location: Cheyenne - Santa Monica - Oregon
Posts: 214
 

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

Quote:
Originally Posted by JWait
I had the same problem... until I noticed the code for sexy_customer_details.tpl has added spaces inside the variables than need to be removed. Also, I needed to a < br/ > tags as necessary to get the formatting correct. I think the forum screwed this up. Works great now though.

Hi I have the same problem. Not sure I understand what you did. New to XCart! Could you post your code?

Thanks

Bob
__________________
All-Natural Healing Skin and Pet Care Products
4.6.0 Gold, ShipWorks 3
Reply With Quote
  #103  
Old 03-03-2007, 07:22 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

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

Look at Post #99, Bob. He's Attached it there as a .txt file.

Download that, then change the .txt to .tpl
Reply With Quote
  #104  
Old 03-03-2007, 09:15 AM
  Keys Care's Avatar 
Keys Care Keys Care is offline
 

eXpert
  
Join Date: Feb 2007
Location: Cheyenne - Santa Monica - Oregon
Posts: 214
 

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

Thanks, That worked!

I did note that the boxes pushed my variable width factor to the limit, so, I got rid of the boxes and just have the text. Looks great. This mod helped significantly with the vertical height issues as well.

Thanks

Bob
__________________
All-Natural Healing Skin and Pet Care Products
4.6.0 Gold, ShipWorks 3
Reply With Quote
  #105  
Old 03-07-2007, 06:39 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

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

No problem. Glad you got it working.
Reply With Quote
  #106  
Old 03-13-2007, 05:10 PM
 
nostraduckus nostraduckus is offline
 

Member
  
Join Date: Jan 2007
Posts: 19
 

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

Has anyone installed the 2Checkout patch and this checkout mod successfully in 4.0.19? I have the mod installed but it has reverted back to the 3 step process..
__________________
ming@rumplequiltskin.com.au
www.rumplequiltskin.com.au
NSW, Australia
X-Cart Version 4.0.19
Reply With Quote
  #107  
Old 06-14-2007, 08:23 PM
 
yages yages is offline
 

eXpert
  
Join Date: Sep 2004
Location: Australia
Posts: 332
 

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

Quote:
Originally Posted by gallica
Does someone succed to implement images on payment method ?
If we follow the process : Update the payment_methods.php with the 3 lines
Code:
define('USE_TRUSTED_POST_VARIABLES',1); $trusted_post_variables = array("posted_data"); require "./auth.php"; require $xcart_dir."/include/security.php";
whatever html image tag we put on payment method description
[img]../skin1/images/payment.gif[/img] the html tags are displayed as text.

Any comments ?

Works well for 4.1.7
__________________
yages
x-cart version 4.5.5
Reply With Quote
  #108  
Old 06-29-2007, 07:18 AM
  Terrybraley's Avatar 
Terrybraley Terrybraley is offline
 

Senior Member
  
Join Date: Oct 2005
Location: Atlanta Georgia
Posts: 142
 

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

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.
__________________
Road Rash Apparel LLC
www.roadrashapparel.com

X-Cart Gold Ver.4.1.8
DSEFU Mod
PHP 4.3.11
MySQL server 4.1.22-max-log
MySQL client 5.0.18
Web server Apache
Operation system Linux
Perl 5.008
XML parser (expat) 1.95.6
Reply With Quote
  #109  
Old 06-29-2007, 07:39 AM
  chetlucas's Avatar 
chetlucas chetlucas is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Inverness, Florida
Posts: 56
 

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

Thanks Terry - that works great. I had to close-up a couple words because there was a space separating them but other than that it was a no brainer!!
__________________
X-Cart version 4.1.11 (Unix)
Apache version 1.3.41 (Unix)
MySQL version 5.0.67 - community
PHP version 5.2.5
PERL version 5.8.8
http://www.etekmart.com
Reply With Quote
  #110  
Old 06-29-2007, 07:47 AM
  Terrybraley's Avatar 
Terrybraley Terrybraley is offline
 

Senior Member
  
Join Date: Oct 2005
Location: Atlanta Georgia
Posts: 142
 

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

Glad it worked for you chet,
__________________
Road Rash Apparel LLC
www.roadrashapparel.com

X-Cart Gold Ver.4.1.8
DSEFU Mod
PHP 4.3.11
MySQL server 4.1.22-max-log
MySQL client 5.0.18
Web server Apache
Operation system Linux
Perl 5.008
XML parser (expat) 1.95.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:16 PM.

   

 
X-Cart forums © 2001-2020