• Resolved gallant5001

    (@gallant5001)


    i wanna Make the Customer City Field a Dropdown in cart page , ive seen a solution but i cant do it for some reason .
    If you have the shipping calculator on the cart page you’ll also know there is (/can be) a city field for the customer to enter their data. Unfortunately this field won’t automatically change with the above snippet. In fact in order to change this field to a dropdown a template override will be needed.

    To get started with this, copy over the woocommerce/templates/cart/shipping-calculator.php template over to your {CHILD-THEME}/woocommerce/cart/shipping-calculator.php file.

    i copied the the first one but when i go to my theme/woocommerce/cart —– theres only mini-cart.php and i cannot find shipping calculator.php
    screenshot for the problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • You will get the at this location plugins/woocommerce/templates/cart

    Thread Starter gallant5001

    (@gallant5001)

    i already found that part but im still trying to find the other part [ {CHILD-THEME}/woocommerce/cart/shipping-calculator.php file. ] which is missing as u can see in the screenshot

    you will put the file in your active theme folder like this

    yourthemefolder/woocommerce/cart

    • This reply was modified 5 years, 5 months ago by wprock.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the City Field on the Cart Page’ is closed to new replies.