– Can we have them only enter in the zip code and not display the other fields?
I tested hide other fields using css and it worked using only zip code but you have to configure shipping zones with zip codes
Hi,
By adding the below code to your theme functions.php file you can hide country, state, city and only have postcode
but then your shipping zones should be defined based on the post code and your should be setting to exact one country else woocommerce will not be able to assing a shipping zone to you and you will not see any shipping method
Its woring depned on woocommerce so hiding this field may now allow you to calculate shipping at all
add_filter( 'woocommerce_shipping_calculator_enable_country', '__return_false' );
add_filter( 'woocommerce_shipping_calculator_enable_state', '__return_false' );
add_filter( 'woocommerce_shipping_calculator_enable_city', '__return_false' );
I will try that, thank you! Is there a way to complete the other 2 items I had mentioned?
– Before a user enters in their information, the message appears that there are no shipping methods available for their area. Can that be hidden until they enter in their information?
– Can we move the box where the shipping methods appear to be either inside the box where they enter in their information or below it?
Thanks!
– Before a user enters in their information, the message appears that there are no shipping methods available for their area. Can that be hidden until they enter in their information?
At present we do not have this option but we are working on it
– Can we move the box where the shipping methods appear to be either inside the box where they enter in their information or below it?
you cant change the box possition there is not option for that
Hi,
we have released a new version v1.2.4 upgrade to that new version
In this new version we have given the option:
1) disabling auto calculation of shippign method
2) we have given the option
here is the screenshot of the setting that you have to do
View post on imgur.com
to disable the auto load and making the result of shipping go inside the hidden container
I will check it out, thank you!
I checked this out and the update helped solve most of our issues, thank you! The one thing that’s still not working is to only show the zip code and have it display the shipping methods correctly. Currently when I hide the other fields, it displays 0 shipping methods, even for zip codes that should have a shipping method. All of our shipping zones are configured with zip codes as you guys mentioned, so that should be correct. The site only allows shipping addresses within the US, but it does allow customers to have a billing address in another country. Could that be the issue, and if so, is there a way around that? The site is for a florist so the shipping is actually delivery within their town. But they do have customers outside of the US that purchase flowers that will be delivered within the florist’s local town, so we do need the ability to have customers purchase that are outside of the US. Let me know if there’s anything we can do about that, and if that’s not the issue, let me know if there is anything else we can look into on it. Thanks!
hi,
Sorry but you cant have only zip code as woocommerce fails to assing zones when you only give zipcode without country and state
will suggest if your country and state will be savme then you should make some JS to auto fill those field and have them hidden using CSS
so user will only be filling the Zip code
Okay I try that, thank you!