Different Billing and Shipping States

General ShopSite user discussion
Post Reply
GiftSpecialists
Posts: 130
Joined: Thu Aug 17, 2006 7:20 am
Location: Modesto, California
Contact:

Different Billing and Shipping States

Post by GiftSpecialists »

There are several reasons why we need different billing state and shipping state dropdown menus (We will sell to anyone around the world, but we only ship to the continental US (not HI or AK either). I understand that SS uses the same list of states for both shipping & billing, so I hard coded the that part of the form into the Shopping Cart template. It almost works, but unfortunately it put shoppers into an infinite loop telling them that the shipping state does not match the zip code entered on the cart page. Most importanatly, I want to add an "International "INT" state code for those purchasing from out of the US, and I do not want HI or AK to be available in the Shipping States dropdown. How can I do this?
Rick,

www.GiftSpecialistsInc.com
www.WineGiftClub.com - Gifts for wine lovers
www.BeerOnTheWall.com - Gifts for beer lovers
loren_d_c
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere
Contact:

Re: Different Billing and Shipping States

Post by loren_d_c »

The only legit way is by adding and removing the State values that you want to in the Commerce Setup -> States and Countries menu, and it will be reflected in both the billing and shipping addresses. See:

http://www.shopsite.com/help/11.3/en-US/sc/pro/country.html

-Loren
loren_d_c
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere
Contact:

Re: Different Billing and Shipping States

Post by loren_d_c »

If you have Pro, you could probably use custom JavaScript on the Checkout page to restrict checkout based on the state selected in the shipping address.

-Loren
GiftSpecialists
Posts: 130
Joined: Thu Aug 17, 2006 7:20 am
Location: Modesto, California
Contact:

Re: Different Billing and Shipping States

Post by GiftSpecialists »

Thanks Loren,

Do you have a sample java script that I could try?
Rick,

www.GiftSpecialistsInc.com
www.WineGiftClub.com - Gifts for wine lovers
www.BeerOnTheWall.com - Gifts for beer lovers
loren_d_c
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere
Contact:

Re: Different Billing and Shipping States

Post by loren_d_c »

Here are some examples that check the country on the initial cart page, not the exact same scenario, but you could probably modify it to work for you.

http://support.lexiconn.com/news/viewtopic.php?t=289

-Loren
GiftSpecialists
Posts: 130
Joined: Thu Aug 17, 2006 7:20 am
Location: Modesto, California
Contact:

Re: Different Billing and Shipping States

Post by GiftSpecialists »

Thanks Loren - I will play with this a bit.
Rick,

www.GiftSpecialistsInc.com
www.WineGiftClub.com - Gifts for wine lovers
www.BeerOnTheWall.com - Gifts for beer lovers
Post Reply