Customer’s City
-
Hi,
I have an error message in checkout that says “there are no payment options for your country”. After selecting the city the payment options appears.I think that before the last version update the city got a default value of the shop’s city, and that was better. Maybe you can add that feature back?
Or is there a different solution for this?
Thanks π
-
Hi Mira,
Please make sure to enable the billing_country and shipping_country fields using the Checkout Field Editor.Hi, they are both enabled.
What is the URL of the website?
I’ve added a default value to the state in checkout field editor.
– When viewing the cart, the shipping cost is not shown (“will be calculated during checkout”).
– Still getting the payment error though the payment options are available.1. Disable the ‘Hide shipping costs until an address is entered’ option (Dashboard => WooCommerce => Shipping => Shipping Options => Calculations).
2. Keep empty the ‘Enable for shipping methods’ option (Dashboard => WooCommerce => Payment => Cash on Delivery).
3. Add local pickup methods to all of your shipping zones (Dashboard => WooCommerce => Shipping => Edit shipping zone).
Thanks
1. “Hide shipping cost…” is already disabled but it doesn’t show shipping cost on cart.
2. OK, deleted everything from there, that fixed the payment error.
3. I don’t have any local pickup methods… Can’t add them.1. Enable the ‘Enable the shipping calculator on the cart page.’ option (Dashboard => WooCommerce => Shipping => Shipping Options => Calculations).
Make sure the country of the store is configured and set default customer location as the shop country (Dashboard => WooCommerce => Settings => General).3. see instructions and screenshot of how to add local pickup method to shipping zone:
https://woocommerce.com/document/setting-up-shipping-zones/#section-61. In addition, create shipping zone for the whole country (choose ‘Israel’ in the Zone regions field), drag this shipping zone to the bottom of the shipping zone list.
1. I don’t want the customer to manually select his city in the cart. I want it to default to the store location (just like it was in the previous version of cities). I’ll try to find a code to do that, because adding a default location in the checkout field editor only works on checkout page, not on cart page.
(3. I understand how to add local pickups, I just don’t offer them so don’t want to add them.)
Thanks π
1. Please redownload the plugin and add this into your theme’s functions.php file:
add_filter( 'csz_customer_default_location_city_disabled', '__return_false' );Good day
I have installed the plugin on my store https://dev.neodo-inc.com/. I have created the shipping areas based upon our Provinces / States we have in South Africa.
Example would be a zone name that is “Emfuleni Local Municipality” as the Zone name
Zone Regions have been added as the towns in the zone called Sasolburg, South Africa
The shipping method title is “Emfuleni Local Municipality” and within that secton I have the rates based on the shipping class of the product being “Small, Medium and Large”
So my issue I am getting is, is when a client has dissected their product and they go to the cart it gives the Checkout screen where the client would enter their details and the street address and suburb, The State / Province is a drop down and shows the towns in South Africa and the client can type or select from the list for the town they reside in
At this time there is no City field or area. When the payment method has been selected and they confirm the transaction / order it gives a warning message
“Billing Town / City is a required field.”
At this stage it is requesting the city as it is a compulsory field for our shipping and it does not save the Town to the City field of Commerce
Can you please assist
Hi,
Please disable the ‘Required’ option for the city field via the Checkout Fields Editor plugin.Disabled the compulsory fields and then order is requested, but when I then go to my admin site in woocommerce in orders there are no city loaded in the city filed and province / state area
Hi
Redownload the plugin – you mean remove it from wordpress and then reinstall?The cities I’ve entered for each shipping zone will not be deleted, right?
@nevillecampher,
Make sure to disable the billing_city/shipping_city and enable the billing_state/shipping_state fields.@miraroz,
Yes, shipping zones will not be deleted.
The topic ‘Customer’s City’ is closed to new replies.