Different Billing and Shipping States

General ShopSite user discussion

Different Billing and Shipping States

Postby GiftSpecialists » Tue Mar 12, 2013 3:17 pm

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
GiftSpecialists
 
Posts: 130
Joined: Thu Aug 17, 2006 7:20 am
Location: Modesto, California

Re: Different Billing and Shipping States

Postby loren_d_c » Tue Mar 12, 2013 3:30 pm

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

Re: Different Billing and Shipping States

Postby loren_d_c » Tue Mar 12, 2013 3:34 pm

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
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Different Billing and Shipping States

Postby GiftSpecialists » Tue Mar 12, 2013 3:39 pm

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
GiftSpecialists
 
Posts: 130
Joined: Thu Aug 17, 2006 7:20 am
Location: Modesto, California

Re: Different Billing and Shipping States

Postby loren_d_c » Tue Mar 12, 2013 4:00 pm

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
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Different Billing and Shipping States

Postby GiftSpecialists » Tue Mar 12, 2013 4:56 pm

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
GiftSpecialists
 
Posts: 130
Joined: Thu Aug 17, 2006 7:20 am
Location: Modesto, California


Return to User Forum

Who is online

Users browsing this forum: No registered users and 23 guests