close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Shipping Same as Billing CHECKMARK?

Thread began 6/17/2009 9:09 pm by Peterson Design Studio - jefferis | Last modified 6/18/2009 5:07 pm by Peterson Design Studio - jefferis | 2161 views | 6 replies |

Peterson Design Studio - jefferis

Shipping Same as Billing CHECKMARK?

Hi Folks,
I have set up an ecart, and although the default checkout page is created with the option to check "Shipping the same as billing," when you check it off, the shipping is not filled out.
First of all, is that the normal and expected behavior?
Second, does eCart then auto fill in the shipping into the Order details and the checkout pages with the billing address? I notice in my Database that some of the fields are empty...

Jeff

Sign in to reply to this post

Ray BorduinWebAssist

Yes it should. Most likely the form element names are wrong somehow. That would explain the checkbox not working as well as the values not appearing in the database.

Sign in to reply to this post

Peterson Design Studio - jefferis

Originally Said By: Ray Borduin
  Yes it should. Most likely the form element names are wrong somehow. That would explain the checkbox not working as well as the values not appearing in the database.  



The Check box works, it just does not auto fill the shipping fields...
<input type="checkbox" name="eC_SameAs" id="eC_SameAs" value="1" onclick="eCart_copyBillingToShipping(this);">

Here's a sample of the first field for first name in shipping:
<input type="text" name="shipping_firstname" id="shipping_firstname" value="">

as opposed to the billing field:
<input type="text" name="firstname" id="firstname" value="">

Sign in to reply to this post

Ray BorduinWebAssist

That looks correct. And the firstname field is one of the ones that doesn't work? Do you have a url where I can view the code? That might allow me to spot the problem.

Sign in to reply to this post

Peterson Design Studio - jefferis

Originally Said By: Ray Borduin
  That looks correct. And the firstname field is one of the ones that doesn't work? Do you have a url where I can view the code? That might allow me to spot the problem.  



You may have to go through a few steps to see the page:
checkout.php

Click Jewelry Selections and any submenu except Overview. Add the item to a cart and then click VIEW CART, and click CHECKOUT and it will take you to this page. An empty cart will not work. I just found an error on the checkout buttons on the main catalog pages... it isn't working. But that is not the problem

Sign in to reply to this post

Ray BorduinWebAssist

Looks like you are missing the script reference:

<script src="WA_eCart/Scripts/copyShipping.js" type="text/javascript"></script>


should be in the header

Sign in to reply to this post

Peterson Design Studio - jefferis

Originally Said By: Ray Borduin
  Looks like you are missing the script reference:

<script src="WA_eCart/Scripts/copyShipping.js" type="text/javascript"></script>


should be in the header  



THANKS RAY,

I don't think I deleted it, I guess it was not auto created by the Cart setup...
Jeff

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...