Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mangohour

    (@mangohour)

    Hi seanrobert,

    Thanks for your comment regarding the plugin.

    State and zipcode level shipping zone support is in the works and will be added to the premium version of this plugin, Table Rate Shipping Plus.

    This is due to be released this week. If you are signed up to email notifications on this thread, I can alert you when it is released.

    – John

    Thread Starter seanrobert

    (@seanrobert)

    John:

    Thank you for your response.. Please do keep me posted on your updated plugin.

    I am sure you are aware of this (I am a potter not a coder). But I have been messing about with this issue for a bit now and have figured some things out.. The current WC does not have the individual US states listed so users will have to enter them manually. This is not a huge deal I did use this line that I added to my child-themes functions.php:

    /**
    * Code goes in functions.php or a custom plugin. Replace XX with the country code your changing.
    */
    add_filter( ‘woocommerce_states’, ‘custom_woocommerce_states’ );

    function custom_woocommerce_states( $states ) {

    $states[‘US’] = array(
    ‘US1’ => ‘Alabama ‘,
    ‘US2’ => ‘Alaska ‘
    *if anyone wants to try this make note of the number after US. This is critical or WC will only show you the very last entry in the list and you WILL have to enter all the states written before, yes I did that…maybe twice, Im not telling:)

    I do prefer this as opposed to having another plugin to maintain… Will your plugin have this ability to enter the states? Also, as I have found out, even after the states are entered into the child-theme/functions.php the other plugins that claim they can sort by states this is where they fail. Not sure if it is a WC issue or that the plugin is not querying the info correctly but after extensive trial and error I could not get them to work efficiently. My work around was to create 50 new “countries” then listing those “countries” individually in the WC settings that enables WC/Plugin to find each other. I hope you have better luck with that… Good luck and thanks!

    Cheers,
    Sean

    Plugin Author mangohour

    (@mangohour)

    Hi Sean,

    The current version of WooCommerce (2.2) includes US states. You can check this by going to the shipping calculator on your shopping cart page, which should list states when United States is selected.

    If you do not see this, your WooCommerce installation may be outdated or broken.

    The upcoming state/zipcode support in Table Rate Shipping Plus supports US states without any additional plugins.

    – John

    Thread Starter seanrobert

    (@seanrobert)

    John:

    Wow, what support.. I will look forward to your release…

    Yes, you are absolutely right the states are in there and can be selected if you have the US included in the General “Selling Locations” shipping area, agreed. Sadly, until now (your present plugin excluded) you cannot access them for any sort of rate/table based shipping set-ups. Because of the fact that in the General tab of the WC UI (user interface) the US is lumped as one big unit “Country”.. As far as the plugins go that will allow you to add rate/table shipping by WEIGHT (I was able to find one plugin that allowed you to do it be Quantity–which I am not sure why because then you are basing it on volume and it would be considered flat rate shipping) we here in the US are cut off… WC doesn’t split the USA because in the UI (“Selling Locations” ) there is only the choice of “Countries” not “States” and I searched through core to find that but I was unable or too scared to mess about… Thus your current plugin, as an example, lumps the US as one unit regardless of what the filter on the shopping cart page says… I cannot apply different rates to the individual states in a plugin’s UI because until now (hopefully) no plugin can effectively “see” the individual states to apply varying rates to…

    Whew.

    Thanks again!
    Sean

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add search for States?’ is closed to new replies.