• My apologies if I misunderstood any of this, but a lot of it wasn’t documented.

    In the source code, I often see $_GET['country'] and $_GET['wcj-country']. The latter isn’t recognized by quite a few functions. It’ll remember the selected country in the drop down list, but other parts of Booster for WooCommerce do not recognize it. Example: Using WCJ_Price_by_Country_Core class’s method get_customer_country_group_id() will give me the wrong country group ID unless I use $_GET['country'].

    Hope this helps, thanks for the cool product.

    https://www.ads-software.com/plugins/woocommerce-jetpack/

Viewing 1 replies (of 1 total)
  • Hi,

    $_GET['country'] parameter is used only for debugging – if you are logged as admin, you can override country selection by IP with this param.

    $_SESSION['wcj-country'] is used by country selection shortcode [wcj_country_select_drop_down_list] to store country selected by user (not by IP).

    Hope I made it a little more clear. Please let me know if you have any more questions.

    Best regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘[wcj_country_select_drop_down_list] uses wrong GET param for Country’ is closed to new replies.