Here is the thread on the old forum that wasn't moved across..
How do we get rid of the Destination State dropdown?
Australia doesn't even have state taxes and this option is messy and confusing.
Would love to hear if anyone was able to remove this
It's just so messy. So many people get confused and confusion results in NO sale!
I thought BC was started in Australia so the developers must be aware of this issue.
It's just sad that there is no ability to hide that confusing second dropdown. If you are an Australia supplier you charge 10% GST to local customers and do not charge GST to overseas - simple.
I think i've found a BC site that has done this Yaye... http://gthloungewear.businesscatalyst.com/OrderRetrievev2.aspx
But does anyone know HOW they did it??
Are you talking about the alert if the shipping option is not choosen as described here http://forums.adobe.com/docs/DOC-1808 (which I have done) or is there away to change the on page Destination State above the dropdown ? I just need it to say Choose Province if so please let me know how to accomplish this. I am not a JS guru by any means.
Appreciate it, Thanks
You'd need to jQuery to targed that text with something like $('#shippingStateSpan').text("Destination Province");
See http://api.jquery.com/text/ for code examples and more options.
Cheers,
-m
The following are some details I copied out of the old onlinebusinessWiki which was so full of good stuff that has now been lost...
Shipping option details
Monday, 20 July 2009
5:43 PM
To change how Shipping options are presented / displayed - The definitive answer....
Through CSS styling and some javascript it is possible to change which elements are displayed and to change the label text associated with each of the elements
To turn display of any element off you include <style> code at the beginning of your shopping cart template. The elements (NOTE: the names are case sensitive !) that can be turned off are:
shippingCountry (the drop down field listing you country(s))
shippingCountrySpan (The label for the country drop down field)
shippingSpan
ShippingOptions
shippingState
shippingStateSpan
Example of achieving this is shown below
<style>
#shippingCountry {display:none;}
#shippingCountrySpan {display:none;}
#shippingSpan {display:none;}
</style>
To change the value of the label associated with each element you place the following javascript code at the end of your layout selecting the relevant element being
shippingCountrySpan
shippingSpan
shippinStateSpan
Example of how I changed the lebel on the Destination State to choose type of GST in Australia is
</script>
<script type="text/javascript">
</script>
Replacing Shipping options with custom text
<script type="text/javascript">
var sel = document.getElementById('ShippingOptions')
for(var i=sel.options.length-1;i>=0;i--)
{
if(sel.options[i].value == "-1")
sel.options[i].text = "Here goes the text of whatever you want to replace Choose Shipping Options to";
}
</script>
Auto-Selecting one Shipping Option
Needs to be added to the Check Out Layout -
<script type="text/javascript">
var shippingOptions = document.getElementById('ShippingOptions');
if (shippingOptions) {
shippingOptions.selectedIndex = 1;
shippingOptions.onchange();
}
</script>
I hope this is still relevant and helpful....
If you want to see this implimented go to www.blackandblue.com.au - we set up a single tax code called GST and have hiddent this DIV per above after presetting the shippingState to the 1st (and only) choice.
In the shopping cart layout we used the following... {tag_shippingoptions,true,true,AU;NZ;US} to limit our shipping to just AU, NZ and USA at present. We have shipping rates set up for the 3 different zones.
The end result is that the shopping cart only applies GST if the buyer is is Aust and then only asks for shipping rates in NZ or US and at no time do we ask for a State or GST code.
Hi Greg,
Thank you for this post.
I was able to get the 'Select State' to disappear by inserting
<style>
#shippingStateSpan {display:none;}
</style>
into the <head></head> area of my Cart Template.
I am unable to get the new text to display.
Do I place the js code into the <head></head> area of the Cart Template (after the <style> tag used above)?
Or do I go into Module Templates - Online Shop Layouts - Shopping Cart?
Is the code correct? (I was going to replace Select GST type with 'Select Province' and I'm guessing the words I insert can be anything I choose).
<script type="text/javascript">
document.getElementById('shippingStateSpan').innerHTML = 'Select GST type';
</script>
I've tried this a few places but I must be doing something wrong.
Thank you for your help,
Tricia
I have a customer asking for this same feature, removing destination state, and though it appears it can not be removed I found this site featured on the AdobeTV system that did remove it (see below). Any thoughts on how that is possible? My client is in the US, and would prefer that tax be applied when someone enters their information on the checkout page - so we can remove the Destination State on the cart page. Thanks!
www.bogsfootwear.com
Hi,
Any update on this?
I desperately need to be able to remove the destination state dropdown as it is confusing and my client does not understand why it is there (it is very hard to reason when I don't understand either!).
I can easily hide the field but I need to be able to use javascript to auto populate if Australia is selected as tax needs to be applied.
Can anyone please help with this?
Thanks
Madeleine
Hi Suppor team,
Are you able to provide an update on this?
I was told by one of your support team members that someone in the Dev team would be able to post a solution in the forum.
It would be great if you could get back to me ASAP as this is really important to my client.
Thanks
Madeleine
North America
Europe, Middle East and Africa
Asia Pacific