View Single Post
  #1  
Old 03-15-2005, 06:38 AM
 
Brian Peat Brian Peat is offline
 

Advanced Member
  
Join Date: Aug 2004
Location: Mc Connellsburg, PA
Posts: 73
 

Default Log-in button at checkout

The layout of the checkout login text was really bugging me. Burried there above the personal info form is one small line of text that mentions that you can sign in if you are already a member of the store.

To clear this up I created some text you can use to replace this in the languages section of the admin.

Go to Languages, choose English, Switch to Text and search for "txt_register_have_account"

Replace the text in the box with this:

Code:
<div align="right"> <hr noshade> </p> <table width="117" border="0" cellspacing="0" cellpadding="0" style="cursor: pointer;" valign="middle"> <tr height="22"> <td width="10" height="22">[img]http://www.YOURSITE.com/xcart/skin1/images/but1.gif[/img]</td> <td background="http://www.YOURSITE.com/xcart/skin1/images/butbg.gif" class="Button" valign="middle" nowrap> <div align="center"> <FONT class="Button">Click to Log In</FONT></div> </TD> <td width="10" height="22">[img]http://www.YOURSITE.com/xcart/skin1/images/but2.gif[/img]</td> </tr> </table> </div> <hr noshade>If you are a new customer we need to know your details. Please fill in the form below and click 'Submit'.

You can change the urls to match the location of YOUR images, or you can steal my really cool OS X looking Aqua looking buttons from here:

http://www.thepeatgroup.com/xcart/skin1/images/but1.gif
http://www.thepeatgroup.com/xcart/skin1/images/but2.gif
http://www.thepeatgroup.com/xcart/skin1/images/butbg.gif

Please DOWNLOAD the images, do not link to MY site. If you do, I'll be forced to move the buttons, something I don't want to do.

Abviously if you use the default buttons, or your own buttons, you'll want to change the width and height of the images, and you may want to play with the table size. This one works in both Safari and IE using the button parts I made. To see an example go to my store:


http://www.thepeatgroup.com/xcart/home.php
And follow it through checkout till you see the button. It looks a bit odd in my store since I have boxes around the sections, but in another store I created for a client (with a white background) it looks very nice.
__________________
X-Cart Gold 4.3.1
Php 5.2.14
MySQL: 5.1.52
My Machine: OS X 10.6.5
Reply With Quote