• Resolved 80grit

    (@80grit)


    Hi,
    In the Check-Out page under Billing Details, two zones are available: Canada and USA.

    If a customer selects Canada under the “Billing Country”, the proper “Billing Provinces” appear in the dropdown submenu.
    However, if the customer then changes their mind and changes the “Billing Country” to USA, the “Billing States” won’t appear in the dropdown submenu.
    For that to occur, a person needs to refresh the page, then the “Billing Country” and “Billing States” sync properly with the USA.
    How can we get the “Billing States” or “Billing Provinces” to instantly match with the selection of “Billing Country” without refreshing the page?

    Could the origins of the conflict arise from this theme: “Cleayn Theme with Woocommerce”; and also having the Woocommerce plugin installed too?

    Additional context:
    Wordpress V 4.9.10 running Cleayn theme with Woocommerce by Playne themes
    Woocommerce 3.5.1
    Cleayn Theme 1.03

    Thanks in advance for your insight and guidance.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Your checkout page works for me. The states switch depending on the country selected, and back again.

    What you describe sounds like a Javascript error. If you bring up the console:
    Chrome – right-click, inspect – then console tab
    it will show any Javascript errors.

    What browser are you using?

    See if it works when you are logged out.

    Thread Starter 80grit

    (@80grit)

    Hi Lorro,
    Thanks for your insight.

    So, the checkout page works fine for you. Hmmm….
    FYI: I am using Google Chrome, Version 76.0.3809.100 (Official Build) (64-bit).

    I made a few more attempts as you suggested: not logged in to WordPress Dashboard; and brought up Inspect then clicked the Console tab – no Javascript errors by the way.

    Basically nothing changed in both Chrome and Firefox on Mac; and on Safari using Develop/User Agent – Windows for both Chrome and Firefox. I still need to refresh page which changes the default offering of Canada and Provinces to US and States.

    I’m going to repeat something I mentioned in my initial post that might have been overlooked.
    Could the origins of the conflict arise from this “Cleayn Theme with Woocommerce” being active, and also the Woocommerce plugin installed/active too?
    FYI: I resolved an earlier issue when, after updating everything, two quantity chevrons appeared in the quantity wrap. I discovered duplicate code in different folders. So I just commented out some css to remedy that glitch.

    I hope my rambling is somewhat coherent. Thanks again for your help.

    I have the same Chrome. Tried again just now on a different PC and it still works fine for me.

    Check at:
    Dashboard > WooCommerce > Status – Template overrides at the bottom of the page
    Do you see any template overrides marked as outdated?

    Temporarily try a different theme to see if that resolves the problem. If so, can you get any support from your theme supplier? Is Cleayn a commercial theme? I can’t find it on the net, has it been discontinued/abandoned?

    Has your theme been updated recently? Most WooCommerce compatible themes are updated every couple of months to maintain compatibility with developments in WooCommerce.

    However, as it works for me and not for you, we should focus on what’s different between us. I’m in the UK and presumably you are in North America. What setting do you have at:
    Dashboard > WooCommerce > Settings > Default customer location?

    I’d be tempted to try another setting there, particularly if you are using geolocate.

    Thread Starter 80grit

    (@80grit)

    Hi Lorro,
    You are illuminating the vast, dark reaches of my ignorance! Thanks, much. I believe your assessment of the Cleayn Themes’ life span is bang on. Read my notes below.

    Try different theme
    I activated the Storefront theme. Everything functions as it should!!! When I change “Billing Country” from Canada to the US or vice versa, the change is reflected immediately in “Billing Province/State”.
    I did not get a reply from the Cleayn Themes developer – Playne Themes – last December; and I have yet to get a response to a direct email sent a day ago.

    Has your theme been updated recently?
    You hit on another vital clue. Updates were the first task I performed a couple weeks ago as the site had been left unattended since December, 2018. I updated all themes, plugins and WordPress.
    Side note: All themes in the Theme Tab, with the exception of Cleayn, have information bars set on top of theme thumbnails saying, “New version available. Update now”.
    Further to your point: I reviewed a Support Forum post I published last December when I last helped out the owner of this site. To provide context with that post, I provided a System Report. The Cleayn Theme version back in December, 2018 was identical to what it is today: version 1.03.

    This “Cleayn Theme with Woocommerce” was launched by Playne Themes in 2015.

    Dashboard/WooCommerce/Settings/Default customer location set to: Geolocate.
    I changed the setting to “Shop Base Address”.

    Template overrides:
    cleayn/cleayn/product-searchform.php

    Summary
    So, you’re right, Lorro. We’re at the end of the line with this theme. I imagine even a best case scenario in which one uses a Child Theme, problems like the one we’re tackling wouldn’t occur because the Parent Theme is routinely updated, correct? The problems, and the need for McGyvering, will only compound if one uses a theme which has not been updated in a minimum of eight months.

    In closing, I just want to thank you again for your insight, Lorro. Invaluable insight and guidance for FREE! People like you make an incredible difference. Alpha, Bravo, Zulu. Out. ??

    Thread Starter 80grit

    (@80grit)

    One last thought. If we agree the Cleayn theme is at the end of the line here in Canada. Why and how is it functioning problem-free in the UK?

    Have you cleared your browser cache?

    Do you have any caching from your local network or your ISP?

    Thread Starter 80grit

    (@80grit)

    Browser cache from my ISP was cleared. Problem with Cleayn Theme still exists.

    Browser cache and ISP cache are different. Did you clear your browser’s cache?

    Thread Starter 80grit

    (@80grit)

    Sorry, I mangled the two. I meant I cleared the cache from my browser, Chrome. I’m not certain how to clear cache from my ISP.

    Thread Starter 80grit

    (@80grit)

    I’ll check with them and report back. Thanks, Lorro.

    I can’t say whether your ISP caches pages. Some do.

    Thread Starter 80grit

    (@80grit)

    Lorro,
    Godaddy, my ISP, provides a Flush Cache feature on managed WordPress sites – Hammerhead Squeegee is not a managed WordPress site. Regardless, I believe the overarching problem remains the Cleayn Theme: A theme, which at the very minimum, hasn’t been updated since December, 2108; A theme who’s developer does not respond to inquires; a theme in which the “Billing Country”, “State/Province” glitch disappears once the Cleayn Theme is deactivated and another theme activated.

    We’ll set aside the melon twisting fact that the “Billing Country”, “Billing States/Provinces” glitch does not appear on devices you tested in the UK. The glitch appears everywhere here – Mac, PC and on Chrome, Firefox, Safari and on laptops and mobile devices.

    That’s it for me, man. I’m going to recommend a new theme. Any other insights?

    Only that with abandoned themes and plugins, problems tend to get worse over time because everything else moves forward. So even if you fix this, relief is likely to be temporary.

    Thread Starter 80grit

    (@80grit)

    Yeah, you’re right. Okay, Lorro. All the best to you in the UK.

    Alpha, Bravo, Zulu. Out. ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Billing Country and Billing Province or State Don’t Sync’ is closed to new replies.