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 rule description not shown #3580

Closed
white-lukas opened this issue Jul 12, 2024 · 3 comments
Closed

[5.x]: Shipping rule description not shown #3580

white-lukas opened this issue Jul 12, 2024 · 3 comments

Comments

@white-lukas
Copy link

What happened?

Description

After creating a shipping rule, the description is not shown anymore.
After the first save the description is saved in the database.
So looks only a bug in retrieving the description.

Steps to reproduce

  1. Create a shipping rule
  2. Add a description
  3. save
  4. Description is not shown on the shipping methods page or on the edit page (It is saved in the database)
  5. after editing the shipping rule the description is removed again

Expected behavior

Description should be shown, and not getting removed after a resave

Actual behavior

Description is never show

Craft CMS version

5.2.5

Craft Commerce version

5.0.11.1

PHP version

8.3.8

Operating system and version

Ubuntu 24.04

Database type and version

mysql 8.0

Image driver and version

No response

Installed plugins and versions

No response

Copy link

linear bot commented Jul 12, 2024

@lukeholder
Copy link
Member

Thanks for reporting, we have fixed for next release.

To get the fix early, change your craftcms/commerce requirement in composer.json to:

"require": {
  "craftcms/commerce": "5.x-dev#e7b37482a39d3287cccd278a569b5c13c5dd1208 as 5.0.12.1",
  "...": "..."
}

Then run composer update.

We will update this ticket once the release it out.

@nfourtythree
Copy link
Contributor

Commerce 5.0.12.2 has now been released with this fix included.

Thanks!

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

3 participants