Hi there,
How on the checkout page can I move (or add) a shipping block under country selection or to the very top of the form?
If I understand this correctly, you want the move the shipping options block under the country field.
The checkout parts can’t be re-arranged by default as it’s handled by shortcodes. The only way to achieve this is with custom code which is unfortunately not within our scope of support.
That said, you can hire someone to help you with this from our partnered Certified Experts from here: https://woocommerce.com/experts/
Hello @babylon1999
No, there is no need to block anything. The place where the delivery method block is displayed needs to be changed.
The current location (under the list of products) is extremely inconvenient – when there are so many items in the cart, the buyer can’t see the shipping methods.
Also, shipping methods depend on the country. That’s why it makes sense to move delivery methods under the country selection.
Please advise which hook is responsible for displaying the selection of shipping methods.
Translated with http://www.DeepL.com/Translator (free version)
Hi @bayrhake
I understand that you would like to move the position of the Shipping Methods under the Country selection.
I found a similar thread related to your inquiry here. Can you please check and try if the proposed solutions would work for you?
In addition to what Saif mentioned, you could check our WooCommerce Developer Resources Portal that can help you get going.
You can also visit the WooCommerce Community Forum, the WooCommerce FB group, or the #developers
channel of our Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.
Hope this helps!
Hello @xue28
I understand that you would like to move the position of the Shipping Methods under the Country selection.
To move it under the country selection would be ideal. But any other prominent place would be fine. For example, above the “billing details” form.
I found a similar thread related to your inquiry here. Can you please check and try if the proposed solutions would work for you?
Thanks, I’ll check it out and let you know.
Thanks also for the other links. But I’m not comfortable with FB and Slack. Open forum is the most familiar format.
Hello @xue28
I used the suggested code in a neighboring topic.
I was able to display the shipping methods above the form, but found two problems:
1. The states of radiobuttons are not saved
2. The shipping methods are not reloaded after changing the country.
To see how it works, please visit the website mentioned in the first post.
Video: https://i.imgur.com/961bK6S.mp4