Results 1 to 5 of 5
  1. #1
    Join Date
    May 2010
    Location
    Texas
    Posts
    393
    Plugin Contributions
    0

    Idea or Suggestion Shipping Estimator entries not passed to checkout

    Is there a way to get the shipping estimator entries to be passed to the checkout page so the customer does not need to enter his State and Zip code a second time?

    Perhaps some code needs to be added that stores these entries when the "update" button of the shipping estimator is pressed?
    Is this likely given that the customer has yet to create an account.
    Using only USPS priority mail and Zen-Cart = v1.3.9c

    Thanks,


  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Shipping Estimator entries not passed to checkout

    If the customer is logged in, the shipping estimator will default to their PRIMARY shipping address anyway.

    All the while the customer is NOT logged in, the shipping estimator is just that... an estimator... allowing the viewer to choose their intended shipping destination.

    Once they log in, it will behave as stated above.

    If they have to register first, then a key aspect of the registration is the provision of their address...

    So, either way, your "problem" solves itself.
    20 years a Zencart User

  3. #3
    Join Date
    May 2010
    Location
    Texas
    Posts
    393
    Plugin Contributions
    0

    Default Re: Shipping Estimator entries not passed to checkout

    I found that the Country, State and ZIP were already being stored as Session variables by the estimator. So I added code to insert them into the check-out/login form page.

    A customer that logs in, never sees the checkout form, so the form is only for new customers. It just makes sense to bring those variables forward and not force the customer to re-enter them.

    Seems to be working great....so far

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Shipping Estimator entries not passed to checkout

    Possibly... but remember there is an important difference between SHIPPING address and BILLING address.

    If the (as yet unregistered) customer is UK based, but is looking to ship to "grandma" in the USA, they will use the shipping estimator to do lookups on USA shipping charges.

    However... their BILLING address is UK.

    What will happen with your "solution" is that the USA address will be set as PRIMARY, resulting either in failed transactions at the payment gateway, or a requirement to not only add a proper billing address, but also to make it the Primary address (as this is what is parsed to payment gateways.)

    To avoid this problem, you would need to restrict addresses to ONE address, and also state quite clearly that the registered address must be the billing address.
    20 years a Zencart User

  5. #5
    Join Date
    May 2010
    Location
    Texas
    Posts
    393
    Plugin Contributions
    0

    Default Re: Shipping Estimator entries not passed to checkout

    Yep, I handle that too. I just populate both shipping and billing with the data entered into the estimator. Yet, still retain the ability to set them uniquely for both bill to and ship to fields.

    Other than the auto-populate from the estimator, the account creation form functions as it always did.

 

 

Similar Threads

  1. v138a Issues with Shipping Estimator and Checkout
    By calvinmcdaniel in forum General Questions
    Replies: 1
    Last Post: 7 Aug 2012, 08:19 PM
  2. Shipping Address not being passed correctly
    By toyseller in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 7 Sep 2009, 04:52 PM
  3. Quantities not being passed to shipping modules
    By heph_long in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 17 Jul 2009, 03:58 AM
  4. Problem with Checkout and Shipping Estimator
    By Sweet ZouZou in forum General Questions
    Replies: 2
    Last Post: 21 Nov 2007, 03:39 AM
  5. 'comments' not being passed to next page during checkout
    By warstormer in forum General Questions
    Replies: 10
    Last Post: 4 Oct 2007, 11:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR