-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Investigate display of the "change address" link in the cart block #42280
Comments
Just reposting this here too @mikejolley The option to even enter the address in the basket is no longer there. Just shows the shipping options which are set to Ireland by default as most customers are coming from Ireland. In the past we were able to change it and it is still available on another client website I still have full access too that used the postcode in Dublin. It is showing on theirs and I can't see any difference in the settings so I am starting to wonder has something become corrupt? Most of my clients don't bother with shipping abroad anymore with the costs so I'm limited in what I can compare to. I will try to do a screen record asap for you. |
@emcgal thanks that would be useful. Even with the shipping calculator not there, you should still see correct quotes during checkout as the shipping address is input. If thats not happening I'd assume its either an extension at fault, or something to do with the shipping zone/methods setup. Maybe some screenshots of that would help too so we can reproduce. |
At the moment, the shipping calculator is hidden when they only have 1 shipping zone, regardless of the merchant’s preference. We need to ensure that the shipping calculator is displayed all the time if the merchant has enabled it. |
Moving this to the next cycle column. cc @pmcpinto |
@mikejolley Trying to follow this between a lot of threads and I was away a lot over the summer months so apologies for missing things. Is this resolved? |
It's not fixed yet @emcgal, only when the ticket gets closed will this issue be considered fixed, with an attached PR that pushed some code to fix it. We are currently having an internal discussion around the shipping calculator use cases. Based on those discoveries we will proceed with a fix. pdFofs-1qj-p2 |
Thanks @ralucaStan. I have had so many closed and merging notifications, it is really hard to follow when I login. For some reason I am not getting emails for mention and I do have it selected. I only get emails when the status is changed so makes it harder to follow. Must look into it. |
In pdFofs-1qj-p2#comment-1795 we decided to revert the change in woocommerce/woocommerce-blocks#8141 PR to hide the change shipping address link and to explore if it’s possible to tweak the core setting logic to only show the shipping calculator when there are location-dependent shipping methods, as we think this creates a better shopper experience. |
My suggestion is to keep this ticket and only use it to revert the changes from woocommerce/woocommerce-blocks#8141. A separate ticket with lower priority should be opened to explore if it’s possible to tweak the core setting logic to only show the shipping calculator when there are location-dependent shipping methods. |
Just noting the observations from woocommerce/woocommerce-blocks#11442, the shipping calculator is not visible in the following condition:
More details are available on this woocommerce/woocommerce-blocks#11442 (comment) |
Is it possible to revert the changes before the end of the cycle? |
Due to the monorepo merge, simply reverting the changes in that PR is hard, I don't know what specific part needs to be reverted and files have been changed since it was merged. @tarunvijwani do you have any hints about what specifically needs to be changed back from that PR woocommerce/woocommerce-blocks#8141? |
Thank you for reaching out, @opr! I appreciate it. Yes, the file has been changed, and it will be difficult to undo the changes made. The However, I suggest that we reconsider reverting the PR as we have fixed some scenarios in the past few months. Instead, we should focus on fixing the scenarios where the shipping calculator is not working correctly, and we should carefully consider when it should be visible or hidden. |
@tarunvijwani is this something you can help with defining for the scope of a new issue? |
@ralucaStan Sure, I have picked the issue and will continue in this cycle. |
@tarunvijwani do you think it's doable to target the next Core code freeze? Jan 24th |
Yes, I will be able to carry out the investigation and wrap up the task before January 24th. |
@pmcpinto @elizaan36 I have investigated all the scenarios for the "Change Address" link and prepared a document: https://docs.google.com/document/d/1spdQXB_gH4AeVftkWeoUBw7jq-jmkR_byDL6xKG8iOQ/ I'd appreciate it if you could take a look and suggest the required changes for any given scenario. I have highlighted some scenarios that need some extra attention and added comments. I feel we should we should display and hide the "Change Address" link below scenarios:
Looking forward to hearing back from you. |
@tarunvijwani thanks for creating the Google Doc. It's very useful.
Makes sense. I think we could re-use the copy we have in the shortcode: Enter your address to view shipping options @elizaan36 what do you think?
Sounds good to me. |
@pmcpinto I feel "Enter your address to view shipping options" might be confusing as we are displaying the shipping option right below it. How about we change the text to "Change address to view shipping options for your location" or something shorter?
|
Sounds good to me. cc @elizaan36 @nikkivias in case you have feedback |
@tarunvijwani Thank you for this comprehensive doc with consideration for the "Default customer location" setting.
I can see the logic of the shortcode checkout approach in this case: "Shipping options will be updated during checkout. Calculate shipping" It's a concise way of communicating that this shipping rate may not be correct and we'll need your actual address in order to calculate it.
This use case could use the same approach as the shortcode checkout as well. However, Tarun's idea here could work as well:
A shorter option could be, "Calculate shipping for your location". This could work for the use cases where the address isn't known but shipping zones do exist.
+1. The editor should reflect the front end experience and not show the link. This would apply to all use cases, regardless of how the "Default customer location" is set. |
Thank you for your suggestions. I'll include them in the PR. 🙂 |
We've had a few issues around the visibility of the change address link under the cart block and need to investigate what could lead to this happening
Tickets:
Cart
does not show "Change address" if TRS is active. woocommerce-blocks#9025There are also some things that were worked on in the past seemingly missing from the current build, for example this change from @tarunvijwani which doesn't actually exist in trunk:
woocommerce/woocommerce-blocks#9025 (comment)
Tarun is creating an RFC for this, but my suggestion would be to:
cc @ralucaStan for visibility
The text was updated successfully, but these errors were encountered: