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 > Changing and adding new features
 
Thread Tools Search this Thread
  #111  
Old 07-03-2007, 08:12 AM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

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

i gave this a whirl in 4.0.19 and it was missing a few fields and also the images were viewed strangely in FireFox
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #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
  #113  
Old 07-22-2007, 04:40 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

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

Qdox,

Welcome to xcart. Before you get too far along, please read the forum rules and edit your fourm signature with your EXACT version of xcart.

http://forum.x-cart.com/viewtopic.php?t=6489
http://forum.x-cart.com/profile.php?do=editsignature

Quote:
Second you need to update the images path like this: url(../../images/sbhead-r.gif).
That would be the wrong path for many users. Every store's path will be different. BTW, in case you are going to have any https going on your store (you should), relative and static links of images will get in your way -- your best way to use global images is to put all of them in your skin1/images directory, then use a path such as this:

url('{$ImagesDir}/image-name.gif')

Hope this helps. Please update your forum sig. Thanks.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #114  
Old 09-08-2007, 02:17 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

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

Hi Guys

what a great mod just have one small question if you can advise, on the place order page the 2 boxes, billing address and shipping address doesn't show the full name and address details.
Is it surposed to be like this or have i done something wrong !!

Have attached pic to show what i mean, if it is surposed to be like this can it be modified
so it shows the full details.

Many thanks Dean

P.s iam currently building a new shop v4.1.8 which isn't live yet so please ignore my signature below...
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #115  
Old 09-09-2007, 02:34 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

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

Hi Guys as a reference to my message above i used the code "Qdox" had set out in post 112
and for some reason not all of the details were showing up.
Ive just downloaded the attachment "JWait" in post 99 had done and know iam getting all the full details showing name, address etc. so iam wondering if there's some code missing from the post 112....
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #116  
Old 10-03-2007, 11:43 AM
 
timbrrr timbrrr is offline
 

eXpert
  
Join Date: Feb 2006
Posts: 277
 

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

adeano,

I got the same result, but when I looked at the code, there are spaces in the code that don't belong there... you'll see them if you look at the first one like this one:
{if $userinfo.default_fields.firstname}{$userinfo.b_fi rstname}{if < see the space between the letters in the firstname field? There are more after that.

Also, I could not get this to work because of the reference to the images directory in that way. I use https, and could not figure out any variation of code to keep the non-secure page warning from popping up when I clicked on submit after entering the credit card number. I did try Carpediem's suggestion, cleared the templates folder and still got the same result, so I'm still not able to use this great mod. Perhaps someone with a little better knowledge of referencing images from the skin.css file can jump in here and let me know what I'm doing wrong.
__________________
X-Cart Gold 4.6.3
Codero dedicated server
Reply With Quote
  #117  
Old 10-05-2007, 07:34 AM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

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

The images reference tip above certainly seems to work across the board using Smarty templates where you want an image to appear in the cart - it sorts out the https / http thing no problem.

This is a typical entry in a .tpl file to use an image:

<IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" border="0">

I have to admit to actually using the standard HTML ../ method of referencing images in certain situations (for example forcing the CC images to appear in the 'Payment Methods' section, as outlined earlier in this thread) but wherever templates are used the {$ImagesDir} method is definitely the way to go.
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote
  #118  
Old 01-24-2008, 07:20 AM
 
ValhallaComics ValhallaComics is offline
 

Member
  
Join Date: Aug 2007
Location: Centreville, VA USA
Posts: 12
 

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

You don't happen to have new images for this, do you? The old ones aren't showing.

Thanks,

Kevin
__________________
Kevin Bush
kevin@valhallacomics.com
http://www.valhallacomics.com

X-Cart DB Version: 4.1.8 GOLD [UNIX]
Reply With Quote
  #119  
Old 01-24-2008, 11:10 AM
 
brianb777 brianb777 is offline
 

Member
  
Join Date: Jul 2007
Posts: 11
 

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

Here are the 4 images you'll need.

this is a great mod. thnk you everyone for your help!
Attached Files
File Type: zip sbbody-r.zip (11.3 KB, 132 views)
__________________
http://mortersupplements.com
Currently running X-Cart Gold 4.1.8
Reply With Quote
  #120  
Old 01-24-2008, 11:11 AM
 
ValhallaComics ValhallaComics is offline
 

Member
  
Join Date: Aug 2007
Location: Centreville, VA USA
Posts: 12
 

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

Quote:
Originally Posted by brianb777
Here are the 4 images you'll need.

this is a great mod. thnk you everyone for your help!

Thanks Brian, appreciate it. =]
__________________
Kevin Bush
kevin@valhallacomics.com
http://www.valhallacomics.com

X-Cart DB Version: 4.1.8 GOLD [UNIX]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:17 PM.

   

 
X-Cart forums © 2001-2018