Forums / Built-in Shipping and Payment Modules / Shipping Estimator entries not passed to checkout

Shipping Estimator entries not passed to checkout

Locked

Views: 891

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
1 Jun 2010, 5:25 PM
#1
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

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,

:thumbsup:

1 Jun 2010, 10:06 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

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

1 Jul 2010, 1:04 AM
#3
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

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

1 Jul 2010, 3:00 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

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

1 Jul 2010, 3:16 PM
#5
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

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.