We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the line items export on admin/commerce/orders crashes
admin/commerce/orders
Pretty sure all that's needed is to change this line: https://github.com/craftcms/commerce/blob/5.x/src/exports/LineItemExport.php#L48
Should be promotionalAmount instead of saleAmount
promotionalAmount
saleAmount
No crash
Yes crash
Craft Pro 5.2.4.1
5.0.11.1
8.2.21
Linux 3.10.0-1160.92.1.el7.x86_64
MariaDB 10.3.27
GD 8.2.21
The text was updated successfully, but these errors were encountered:
PT-1977 [5.x]: Orders -> Export -> Line items crashes
Sorry, something went wrong.
b54a84e
Thanks for reporting this. It is fixed for the next release.
To get the fix early, change your craftcms/commerce requirement in composer.json to:
craftcms/commerce
"require": { "craftcms/commerce": "5.x-dev#b54a84ea6a3bd6b4711bfd648a58efa739bf34a9 as 5.0.13", "...": "..." }
Then run composer update.
composer update
We will update this ticket once the release it out.
Hi
Commerce 5.0.14 has now been released with this fix included.
5.0.14
Please update your project to get the latest version.
Thanks!
No branches or pull requests
What happened?
Description
Using the line items export on
admin/commerce/orders
crashesPretty sure all that's needed is to change this line:
https://github.com/craftcms/commerce/blob/5.x/src/exports/LineItemExport.php#L48
Should be
promotionalAmount
instead ofsaleAmount
Steps to reproduce
admin/commerce/orders
Expected behavior
No crash
Actual behavior
Yes crash
Craft CMS version
Craft Pro 5.2.4.1
Craft Commerce version
5.0.11.1
PHP version
8.2.21
Operating system and version
Linux 3.10.0-1160.92.1.el7.x86_64
Database type and version
MariaDB 10.3.27
Image driver and version
GD 8.2.21
Installed plugins and versions
The text was updated successfully, but these errors were encountered: