Lots of Countries & States showing in page source (1 post)

  1. Photoboy19
    Posted 2 years ago #


    I have a few product thumbs placed on my front homepage as a teaser for customers.
    I've noticed that there are A LOT of country/state codes in the page source...

    Like this:
    var woocommerce_params = {"countries":"{\"AU\":{\"ACT\":\"Australian Capital Territory\",\"NSW\":\"New South Wales\",\"NT\":\"Northern Territory\",\"QLD\":\"Queensland\",\"SA\":\"South Australia\",\"TAS\":\"Tasmania\",\"VIC\":\"Victoria\",\"WA\":\"Western Australia\"},\"CA\":{\"AB\":\"Alberta\",\"BC\":\"British Columbia\",\"MB\":\"Manitoba\",\"NB\":\
    ...and so on...

    Where are they coming from? And do they really need to be there? I mean – it kind of slows the page down (even if just by a small bit).
    I'd understand if customers are logged in, or if there are products in the shopping cart. But really, it's all empty & no one logged in....


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.