![]() |
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 |
Re: Editing checkout form
General Settings/User Profiles Options....you don't need to edit any code :)
|
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 |
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! |
Re: Editing checkout form
Thank you so much!
|
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 |
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). |
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 |
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"} </td> and see if that does it. |
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 |
Re: Editing checkout form
What happens if you change
<input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="checked"{/if} /></td> to <input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffClose();"{if $ship2diff} checked="checked"{/if} /></td> ? |
Re: Editing checkout form
HI J,
Thanks again for the new reply. I tried that now ( and previously over the weekend) thinking that might work- but it keeps the page closed. I don't really know j/s but also tried ( it was a wild guess with no luck) <input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="unchecked"{/if} /></td> and you still have to click in the box to open the form this is turning out to be a real brain twister- appreciate all your help- best Scott V |
Re: Editing checkout form
Any news on this? Like fotodog13, we also have a gift site and want the ability to *ALWAYS* ask for a shipping address on a new order, even when the customer has ordered from us before and it's saved a previous 'shipping' address. In a perfect world, during the checkout process it would show the shipping address as blank fields *always*... but with an option to populate the fields with the billing address if it's the same for this particular order.
|
Re: Editing checkout form
Hi ndent,
The site I am working on is a gift basket site and the owner is not using the shipping module portion of xcart. I solved my problem by modifying my detailed description box. I added a text option box to the product and then added a piece of j/s to the option that forces the customer to enter a delivery address and phone number before it goes to check out. I need to run out now but will post how I did this tomorrow AM ( sorry I need to go into a meeting now. It may solve your problem too |
Re: Editing checkout form
Ndent
Sorry I could not respond to this last night. It has been awhile since I worked on that page but I do not believe I was able to solve the problem that way but did figure out a work around, that did solve the problem and also addressed another issue and solved that as well. On the site I am working on I added option text fields for who the product ships to on the detailed product description pages. At the bottom of the product option groups box page ( in your admin) there is a box where you can put in some java script. In this box called Validation script ( Javascript) I added this script if (document.getElementById('po521').value == "") {alert('Please enter the delivery address & phone.') document.getElementById('po521').focus() return false; } else { return true; } If the customer does not fill in the information they cannot advance the checkout process. I decided to do this because during the course of trying to solve this problem I encountered another issue that may effect you too if you are working on a gift site. This client wanted the ability to process orders that would allow multiples of the same product shipped to different locations. This probably could be solved by setting up an address book ( a lot of work and beyond the budget this client wants to spend) but it dawned on me that I could get around that by stripping out the quantity box on the detailed description page and make every item ordered a quantity of one. Each item is added separately. This way if a customer wants to buy 4 of the same gift basket that ship to 4 different locations each item shows the product and its location on the invoice and e mail that the customer and the site owner receive. ( make sense) It may not be a perfect solution but it is pretty streamlined and works pretty good. When the order is received by the site owner there is no doubt which product goes to who . Hope this is a help to you. Best Scott V fotodog13 |
All times are GMT -8. The time now is 08:50 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.