You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would appear that Coupon codes created in Commerce3 are being set to max uses '0' after upgrading to Commerce4.
Steps to reproduce
In control panel, go to Commerce > Promotions > Discounts
Choose a discount that has coupons. Select Coupons tab.
Expected behavior
Max uses should be set to blank in Craft 4 when upgrading from Craft 3
Actual behavior
Coupons appear to be set to 0, when they should be blank.
i.e. the previous setting in Commerce 3 was Set to zero for unlimited use but the new setting is Leave blank for unlimited uses
Craft CMS version
Craft 4.2.2
Craft Commerce version
Craft 4.1.0
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
The text was updated successfully, but these errors were encountered:
I can confirm this is in fact not fixed and is still happening with a migration (C3C3 -> latest C4C4) - done just a couple of weeks ago - i.e. maxUses set to 0.
What happened?
Description
It would appear that Coupon codes created in Commerce3 are being set to max uses '0' after upgrading to Commerce4.
Steps to reproduce
Expected behavior
Max uses should be set to blank in Craft 4 when upgrading from Craft 3
Actual behavior
Coupons appear to be set to 0, when they should be blank.
i.e. the previous setting in Commerce 3 was
Set to zero for unlimited use
but the new setting isLeave blank for unlimited uses
Craft CMS version
Craft 4.2.2
Craft Commerce version
Craft 4.1.0
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
The text was updated successfully, but these errors were encountered: