Skip to content
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

[5.x]: Shipping method is not showing up everywhere correctly #3889

Closed
MatthiasBrodelet opened this issue Feb 9, 2025 · 3 comments
Closed

Comments

@MatthiasBrodelet
Copy link

What happened?

Description

The chosen shipping method is showing up correctly in the order detail but when editing the order it none of the methods can be set to active.
It sometimes also does not show up correctly on the orders overview table.

Currently only orders have been placed with a shipping method that does not include extra costs so I'm not sure if this is related to issue #3888.
I have already updated to v5.3.2.1 as recommended in that ticket.

Image Image

Steps to reproduce

1.Place order with shipping method

Expected behavior

The dropdown should show the chosen selection.

Actual behavior

Nothing is shown in the dropdown.

Craft CMS version

5.6.5.1

Craft Commerce version

5.3.2.1

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Copy link

linear bot commented Feb 9, 2025

@nfourtythree nfourtythree self-assigned this Feb 10, 2025
@nfourtythree
Copy link
Contributor

Hi @MatthiasBrodelet

Thank you for reporting this.

The order edit page issue appeared to be a styling bug from some changed styles introduced in Craft. From my testing the data was still correct in the dropdown, however it just wasn't visible when viewing the page.

We have pushed a fix for this which will be included in the next release of Commerce. We understand with this being a store administrator facing feature that we will try to get a hot fix out asap to avoid any disruptions.

To get this early, change your craftcms/commerce requirement in your project's composer.json to:

"require": {
  "craftcms/commerce": "5.x-dev as 5.3.2.1",
  "...": "..."
}

Then run composer update.

With the other part you mentioned, I would be interested to know after updating if you create a new cart in a new session if everything is working as expected both on the front end for the customer and in the control panel.

Thanks again!

@MatthiasBrodelet
Copy link
Author

@nfourtythree I just updated to version 5.3.2.2 and it seems to be working as intended!
Thanks for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants