Changing the City Field on the Cart Page
-
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
- The topic ‘Changing the City Field on the Cart Page’ is closed to new replies.