• Resolved gallant5001

    (@gallant5001)


    i wanna change the city field to dropdown list to make it easier for customer and make the shipping cost based on city not zipcode i have been trying so many solutions but it didnt work i would really appreciate any help, thanks

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    This can be done by editing the template woocommerce/templates/cart/shipping-calculator.php.

    You can mimic the field State and adapt it to work for cities. Please notice that WooCommerce does not have a list of cities by default in the code.

    The calculation base will not automatically change from zip code to city as it depends on how your shipping is configured.

    If you need help with the code you can refer to our recommendations on the WooCommerce Customizations Page.

    Plugin Support EtienneP a11n

    (@etiennep)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘moidfy the shipping calculator fields’ is closed to new replies.