• Please check the error when new customer add some products to cart, then go to cart page, chose calculate shipping, but the list of cities is not load.

    And if customer go to checkout page then chose a city, back to cart page, everything is back to normal( the list of cities can dropdow). The error appears only when new customer go directly to cart page after add product to cart.

Viewing 1 replies (of 1 total)
  • Thread Starter delatdecatsini

    (@delatdecatsini)

    i just resolved that error, on cart page template (shipping-calculator.php), must change the line that have
    WC()->countries->get_shipping_countries()

    to WC()->countries->get_allowed_countries() then chose country default in general tab of woocommerce.

    The list of cities is not loaded because country hasn’t been chosen yet

Viewing 1 replies (of 1 total)
  • The topic ‘Error on load cities at cart page’ is closed to new replies.