| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
check box for "same as billing address" | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
Ok--I got it. Here is the copybilling.js for 3.x...or at least this is what worked for me:
Code:
__________________
X-Cart version 4.7.12 |
|||||||
#32
|
|||||||
|
|||||||
Fist off thanks for this MOD. It is great. As stated it should be standard in Xcart.
The mod works just as it should be but I have added an " Additional " Phone field in Billing and Shipping. As this is an additional field the code is not copying the phone field. I have not been able to figure out the additional code I need to add in the copybilling.js Also if I need to change any of the code in the other templates used. If anyone knows what I need to add/change that would be great. Thanks
__________________
CopperB XCart Gold -> v4.0.11 PHP -> v4.3.10 MySQL -> v4.0.22 Apache -> v1.3.33 Smarty -> v2.6.3 |
|||||||
#33
|
|||||||||
|
|||||||||
Hi,
Thanks for your great work, i am using 4.0.11 I followed all of your instructions change the last code you posted but i still getting error. I will be grateful for help Thanks
__________________
X-Cart Gold 4.3.2 X-Cart Gold 4.4.1 Unix High Quality CCTV DVRs & Cameras http://www.eaglemobiles.co.uk/CCTV |
|||||||||
#34
|
|||||||
|
|||||||
1) Create a new file in the skin1 directory called copybilling.js
add this code: Code:
2) in skin1/customer/home.tpl after Code:
add this code Code:
3) find skin1/main/register_billing_address.tpl After the last </TR> add this code Code:
I have tested in Firefox 1.o and IE 6.0 and both work Hope this helps
__________________
CopperB XCart Gold -> v4.0.11 PHP -> v4.3.10 MySQL -> v4.0.22 Apache -> v1.3.33 Smarty -> v2.6.3 |
|||||||
#35
|
|||||||
|
|||||||
CopperB
Thanks, this worked great for me!
__________________
X-Cart Gold 4.1.9 Linux Server @ www.offbeathosting.com Danger Den, LLC www.dangerden.com Water Cooling Computers! |
|||||||
#36
|
|||||||
|
|||||||
NP jeremy. Glad to hear that it worked for you.
Has anyone tried this with an " Additional " Phone field in Billing and Shipping. As this is an additional field the code mod is not copying the phone field. I have not been able to figure out the additional code I need to add in the copybilling.js Also if I need to change/add any of the code in the other templates used. Thanks
__________________
CopperB XCart Gold -> v4.0.11 PHP -> v4.3.10 MySQL -> v4.0.22 Apache -> v1.3.33 Smarty -> v2.6.3 |
|||||||
#37
|
|||||||||
|
|||||||||
jeremy35 you still got errors man.
Just checked it out on your site...
__________________
XC 4.2 inc (unofficial) patch release. |
|||||||||
#38
|
|||||||||
|
|||||||||
It would appear that some are not giving consideration to the two different registration forms.
Remeber, there is a Checkout sign up page AND and general register page. They dont have the same sign up fields. The general sign up page does not ask for the a Name twice, the checkout sign up does. So on the general signup you have no name field to carry across twice, hence the error. Either create two templates for this or use this .js code: Code:
__________________
XC 4.2 inc (unofficial) patch release. |
|||||||||
#39
|
|||||||
|
|||||||
CC
You are right. It works on my checkout sign up but not on the general signup. This is from a post of yours earlier in this thread. Quote:
Would you be able to post the code for those 2 new files and what other templates need modified. Thanks
__________________
CopperB XCart Gold -> v4.0.11 PHP -> v4.3.10 MySQL -> v4.0.22 Apache -> v1.3.33 Smarty -> v2.6.3 |
|||||||
#40
|
|||||||||
|
|||||||||
Instructions for 4.0.x using the ezCheckout mod by jon:
In your skin1 folder create the following files copybilling1.js Code:
copybilling2.js Code:
In skin1/customer/home_checkout.tpl after Code:
add this code Code:
In skin1/customer/home.tpl after Code:
add this code Code:
Find skin1/main/register_billing_address.tpl After the last </TR> add this code Code:
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|