craftcms / commerce

Fully integrated ecommerce for Craft CMS.
https://craftcms.com/commerce
Other
215 stars 169 forks source link

[5.x]: New order store is always the primary store #3474

Closed stanislavprokopov closed 2 months ago

stanislavprokopov commented 2 months ago

What happened?

Description

Expected behavior

Expect to be able to create orders for different stores, depending on the selected active Store

Craft CMS version

5.1.0

Craft Commerce version

5.0.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-

linear[bot] commented 2 months ago

PT-1684 [5.x]: New order store is always the primary store

lukeholder commented 2 months ago

Thanks for reporting. This has been fixed for the next release.

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

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

Thanks. We will update this issue once a release is out.

lukeholder commented 2 months ago

Commerce 5.0.2 is now out with this fix.