-
Notifications
You must be signed in to change notification settings - Fork 9.4k
It should be possible to sort the billing address fields in the checkout in a convenient way #6325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for your submission. We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues. Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here). We are closing this GitHub ticket and have moved your request to the new forum. |
@piotrekkaminski: seriously? This is a flaw in Magento 2. |
@piotrekkaminski: I saw you mentioning in another issue that your piotrekkaminski-lets-move-everything-to-the-forums-bot does it job automatically based on the tags which are assigned to the issue, and sometimes mistakenly moves issues over to the forum due to a bug in the bot. Thank you! |
@hostep, I referenced the issue here: https://community.magento.com/t5/forums/editpage/board-id/feature-requests/message-id/2710 Imo it smells like a bug - not for end-users, but definitely for developers wishing to use the layout XML API. Also, you can't even change it with plugins, since |
we are in 2018 ...and no solutions found? |
One thing I just noted is that there seems to be a hard-code override for the country_id sort order in (at least my v2.2.2) magento2 CE in the module-checkout package. I wasted 3 hours trying to figure out why changing the values in customer_eav_attribute sortOrder for the country_id didn't seem to be changing anything only to find it was hard-code over-ridden in the original sourcecode! |
This really needs to be corrected. It is frustrating as a new customer to try to select your State/Province only to find the list is for the US or other country, and then have to illogically go further down to change the Country and then go back up to select their State/Province. |
I've solved at-least or even more than 10 critical bugs myself after release of magento 2, having shipping and billing address on checkout is of core importance when it comes to an ecommerce site, I'm very sure the world's most robust and secure ecommerce CMS Magento 2 must have a solution for this but where is it ? please help to sort this issue or at-least accept that no solution till date has been given so we can develop one by ourselves. |
I'd like to propose that this is re-opened. There is a very clear use-case for |
@braders: could you open a new issue with this request? This is a very old ticket and chances of it being re-opened are not very high I'm afraid. |
Preconditions
Steps to reproduce
magento2/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php
Lines 201 to 246 in c5d618d
magento2/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php
Line 165 in c5d618d
Expected result
I expected to be able to change the sort order of the billing address fields in the checkout using xml or some other "convenient" way, but found this is almost impossible without manually altering the
sort_order
field in thecustomer_eav_attribute
table.Actual result
Not able to sort the billing address fields in a convenient and easy way.
Discussion
To be able to sort the shipping address fields in the checkout, we can create a file
checkout_index_index.xml
with something like this:I was hoping there was a similar way for the billing address fields, but came to the conclusion after viewing
magento2/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php
Lines 201 to 246 in c5d618d
Or am I missing something obvious here?
The text was updated successfully, but these errors were encountered: