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

Editing checkout form

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-22-2007, 08:02 AM
 
lauren@pti-nj.com lauren@pti-nj.com is offline
 

Member
  
Join Date: Jun 2007
Posts: 11
 

Default Editing checkout form

Hi

Does anyone know how to edit the checkout form? I'd like to remove some of the fiields. I am not using fast checkout just regular and I have version 4.0.19

Thanks

Lauren
X-cart Gold 4.0.19
__________________
Lauren Pinson
X Cart Gold 4.0.19 [win]
Reply With Quote
  #2  
Old 06-22-2007, 08:23 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Editing checkout form

General Settings/User Profiles Options....you don't need to edit any code
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-22-2007, 09:36 AM
 
lauren@pti-nj.com lauren@pti-nj.com is offline
 

Member
  
Join Date: Jun 2007
Posts: 11
 

Default Re: Editing checkout form

Thanks! Is there a way to remove the sign up for memebership option? We don't really need that feature.

Lauren
__________________
Lauren Pinson
X Cart Gold 4.0.19 [win]
Reply With Quote
  #4  
Old 06-22-2007, 09:37 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Editing checkout form

That you would need to actually hide via code. Go to customer/main/register.tpl and just comment out the register_account line of code.

Also, when you have a moment can you add your X-Cart version to your signature? Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 06-22-2007, 09:53 AM
 
lauren@pti-nj.com lauren@pti-nj.com is offline
 

Member
  
Join Date: Jun 2007
Posts: 11
 

Default Re: Editing checkout form

Thank you so much!
__________________
Lauren Pinson
X Cart Gold 4.0.19 [win]
Reply With Quote
  #6  
Old 11-01-2008, 06:24 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: Editing checkout form

Hi All,
I am trying to figure out a way to keep the check box for recipient on the check out form open all the time?
I am working on a gift site, so most of the purchases are going to a recipient not the purchaser.

I think I could do this by changing something in the main/register.tpl but I can't seem how to figure out how to get it to do this. Would really appreciate the help.

Thanks again


Scott V
fotodog13
4.11 gold
apache
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #7  
Old 11-01-2008, 07:00 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Editing checkout form

I haven't tried it but look in skin1/main/register_shipping_address.tpl.
There is a line that says
<td><input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="checked"{/if} /></td>

Try commenting out that line (maybe leaving the <td>'s as is).
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #8  
Old 11-02-2008, 07:54 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: Editing checkout form

Hi J,

Thanks for the reply. I played with this several ways but had no luck in getting it to do what I need. If I edit out the code I cannot get the ship 2 a different address to come up.
I am thinking the solution maybe in the j/s ( which I don't know well enough )
I am wondering if there is a way to make it so no action is needed for the recipient shipping info to appear all the time without an action

Could

<td><input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="checked"{/if} /></td>

be made to be something that is active all the time - ie. without a click, or rollover, etc. ?

I tried to edit out the j/s at the top for the ship2different located at the top of the .tpl and then add a new table to the form , duplicating everything from
<tbody id="ship_box"> just before {include file="main/register_additional_info.tpl" section="S"}

and while it added the information it caused a script error message when I tried it.

Any thoughts yours or others on how to make this work ? I have a feeling I am over thing it now.

Thanks

Scott V
fotodog
4.1.11 gold
apache
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #9  
Old 11-02-2008, 01:47 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Editing checkout form

Try changing
<td><input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="checked"{/if} /></td>
to
<td>{$ship2diff eq "checked"} &nbsp;</td>
and see if that does it.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #10  
Old 11-03-2008, 04:30 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: Editing checkout form

thanks J
I really appreciate the help but
No cigar :{ - same results the form remains hidden without the click box visible. am going to try and figure this out yet

If anyone else is reading this post and has a solution I would really appreciate the help. I am working with a client that is driving me crazy about this of all things.
I need to try and solve it ASAP before I do something to them I might regret
best
Scott V
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:03 AM.

   

 
X-Cart forums © 2001-2020