| ||||||||||
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 |
#101
|
|||||||
|
|||||||
has anyone figured out how to get this mod to work with additional fields in billing/shipping info?
__________________
Matthew E Wawrzyniec iCrunk LLC Xcart v4.0.14 |
|||||||
#102
|
|||||||||
|
|||||||||
Quote:
|
|||||||||
#103
|
|||||||
|
|||||||
im trying to include additional fields in the copy
__________________
Matthew E Wawrzyniec iCrunk LLC Xcart v4.0.14 |
|||||||
#104
|
|||||||||
|
|||||||||
Quote:
Code:
Code:
Code:
|
|||||||||
#105
|
|||||||
|
|||||||
Quote:
thank you, i dont know why i didnt think of that
__________________
Matthew E Wawrzyniec iCrunk LLC Xcart v4.0.14 |
|||||||
#106
|
|||||||
|
|||||||
so this is what i ended up with in copybilling.js
Code:
__________________
Matthew E Wawrzyniec iCrunk LLC Xcart v4.0.14 |
|||||||
#107
|
|||||||
|
|||||||
I successfully implemented this in a 4.0.14 store that I did. But I am now doing another store, and it's in 4.0.17. I wasn't able to simply copy the same stuff over and get everything to work correctly. Having the name copied to the billing part works fine, but when I check the box to move the billing fields into the shipping fields, I get an error. It unfortunately doesn't give me much to go on, on where to troubleshoot.
So, has anyone successfully get this to work in v4.0.17 ? Or, I guess more importantly, what has changed between versions that I might be able to rework this myself? ***EDIT*** I went back into my store with Friefox and enabled the Javascript Console. It gives me a detailed error message now: Error: document.getElementById("_s_state") has no properties Source File: http://www.xxxxxxxxx.com/skin1/copybilling.js Line: 10 In the copybilling.js file, this is line 10: _s_state = document.getElementById('_s_state').value; I have copied and pasted the javascript I am using from redlime's example. Thanks! Brian
__________________
X-Cart Gold v4.0.18 [unix] - Easy Checkout module - ezUpsell module - CDSEO module X-Cart Gold v4.1.11 [unix] ***38,000+ active products! - CDSEO module - Address Book module - Reorder module - Smart Search module X-Cart Gold v4.4.2 [unix] - in development now! |
|||||||
#108
|
|||||||
|
|||||||
Has anyone tried to get this working with the County field? Country works fine, but County is giving me problems. Not sure what to do.
__________________
X-Cart Newbie! - X-Cart Gold v4.1.5 and v4.0.17- Windows 2003 Server, IIS6, PHP 5.2.13 |
|||||||
#109
|
|||||||
|
|||||||
This mod rocks
Also can do a onblur if needed. I didn't want a check box so I removed the checkbox and ran a little onblur js function to copy each field as the user enters it...Probably not useful for most stores, but very much needed for mine
__________________
Thanx, Dan ________________ X-Cart Gold 4.0.18 |
|||||||
#110
|
|||||||
|
|||||||
Hello, I tried to sort thru all the snippets of code to try to get this working for x-cart gold v4.0.18 but no luck.
Can somebody who's using this mod on v4.0.18 help on what needs to be done and where? Thank You.
__________________
X-cart GOLD v 4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|