Skip to content

Release/1.25.0#276

Closed
Marvin-Magmodules wants to merge 7 commits into
masterfrom
release/1.25.0
Closed

Release/1.25.0#276
Marvin-Magmodules wants to merge 7 commits into
masterfrom
release/1.25.0

Conversation

@Marvin-Magmodules
Copy link
Copy Markdown
Member

Bugfixes

  • Fix missing currency on negative prices in feed output
  • Fix region code mismatch in Channable order import

Improvements

  • Add : int return type to Console\Command execute() (ItemUpdate, OrderSimulate, Selftest) — required by Symfony Console in Magento 2.4.9

Clamp negative prices to 0.00 and always append currency suffix
when use_currency is enabled. Previously, negative prices bypassed
the currency append logic, causing Channable to reject the feed
with "The price of at least one product is missing a currency".
Channable sends state_code values (e.g. "099" for LV) that don't exist
in Magento's directory_country_region table, causing "regionId is required"
errors when the country is in the "State is Required for" config.

- Multi-strategy region lookup: try code, prefixed code (CC-code), then
  state name fallback, returning null when no match is found
- Set region_id and region separately on address data
- Add SkipRegionValidation plugin to suppress regionId validation errors
  during Channable imports (scoped via CheckoutSession flag)
- Add E2E tests for LV (pycountry code) and PL (no region) orders

Fixes: channable/magento-plugin#19
…erSimulate, Selftest) — required by Symfony Console in Magento 2.4.9
@Marvin-Magmodules
Copy link
Copy Markdown
Member Author

Superseded by release/1.24.1

@Marvin-Magmodules Marvin-Magmodules deleted the release/1.25.0 branch May 12, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant