X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Editing checkout form (https://forum.x-cart.com/showthread.php?t=32016)

lauren@pti-nj.com 06-22-2007 08:02 AM

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

balinor 06-22-2007 08:23 AM

Re: Editing checkout form
 
General Settings/User Profiles Options....you don't need to edit any code :)

lauren@pti-nj.com 06-22-2007 09:36 AM

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

balinor 06-22-2007 09:37 AM

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!

lauren@pti-nj.com 06-22-2007 09:53 AM

Re: Editing checkout form
 
Thank you so much!

fotodog13 11-01-2008 06:24 AM

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

JWait 11-01-2008 07:00 AM

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).

fotodog13 11-02-2008 07:54 AM

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

JWait 11-02-2008 01:47 PM

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.

fotodog13 11-03-2008 04:30 AM

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


All times are GMT -8. The time now is 09:00 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.