WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Lots of Countries & States showing in page source (1 post)

  1. Photoboy19
    Member
    Posted 5 months ago #

    Hi,

    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....

    https://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.