cherie,
Thank you for your reply. The two imput lines are inside a form. Form Name: name="registerform" Verified the script blocks in home.tpl Verified that the js files exist in skin1 This is what show up on the line in the source that is throwing the 1st error: Code:
<input type="checkbox" name="copyn" onclick="javascript:copynames(this.form);">Use Customer Details in Billing Address and here is the line that throws the 2nd error: Code:
<input type="checkbox" name="copyb" onclick="javascript:copybilling(this.form);">Use Billing Address as Shipping Address Unfortunatley, I'm a little too much of a noob to js to get what your referring to as "script blocks", but I hope the above information answers your post completely. Unfortunately, no resolution yet. Thanks again. |
Quote:
Code:
<script language=JavaScript1.3 src="{$SkinDir}/copybilling.js"></script> |
Gottcha! OK, I think we're getting somewhere here. The script blocks are not showing up in the <HEAD> tags. Funny, because I have one other js that is showing up there. The js is accessible from /skin1/copybilling.js
|
Quote:
|
Those two script blocks do show up on pages that don't use them like the home page. I'm using easy checkout. So I'm sure that's the issue. This page is probably not using home.tpl.
Yes, I have the cart installed at the root level. A lot of posts I read suggested it. This is the most succinct: http://forum.x-cart.com/viewtopic.php?t=21581&highlight=root {* edit *} For anyone using Jon's Easy Checkout Mod, add the code below to customer/home_checkout.tpl instead of customer/home.tpl when using GriffithLea's mod: right below Code:
</TITLE> add in Code:
<script language=JavaScript1.3 src="{$SkinDir}/copybilling.js"></script> {* end edit *} Thank you VERY much for your help in tracking this down. You may have just saved my sanity! :D |
it seems that people would have got errors with this if they had this setting unchecked
Quote:
anyone come up with anything for this ? |
just an idea for the checkbox if shipping address different - wouldnt it be a good idea that the checkbox and option to send to seperate shipping address be good if it could be controlled by country.
i.e i'd be happy to send to a different address in the UK but doing that to somewhere like singapore would be a big no no. At least in the UK i could send the boys round if it was fraud. |
Recently I've gotten a huge number of calls from customers using Macintosh computers who can't change the state dropdown menu, and can't change the expiration date dropdowns during checkout. I've tracked it down to this mod being the possible culprit. Has anyone else been having this issue?
I did modify copynames.js and copybilling.js very slightly to not use the title, as we don't use it in our store: copynames.js Code:
function InitSaveVariables_names(form) { copybilling.js Code:
function InitSaveVariables_shipping(form) { I'm pretty sure that's not the issue, though. Anybody see anything in here that could cause a Mac to choke? I know nothing about Macs unfortunately, and have no way of testing either. :( Any help would be appreciated. Thanks!! |
Since x-cart uses different registration forms whether the customer is in the cart or not, copybilling.js needs to account for the differences.
This is what I ended up using for copybilling.js: Code:
function InitSaveVariables_shippingC(form) { Then I used the following in main/register_shipping_address: Code:
{* ======== COPY BILLING TO SHIPPING MOD ======= *} {if $js_enabled} And I use the following in main/register_billing_address.tpl: Code:
{* ======== COPY NAMES TO BILLING MOD ======= *} |
hack disables email fields?
I'm not certain that this mod has changed this, but now my email registration notification only shows:
Quote:
When it should also be showing address, contact info, etc. Did some inane variable get changed with this mod?? Thanks! |
All times are GMT -8. The time now is 04:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.