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
Looks like the compatibility ^2.1.0 is only checking against 2.X versions, and will not allow installation alongside Commerce 3. I do not know if there would need to be actual updates to this plugin for version 3, or if this is as simple as changing a number?
The quick fix for this is to open composer.json inside the plugin and change
"craftcms/commerce": "^2.1.0"
to
"craftcms/commerce": ">=2.1.0"
I've also forked the plugin and put it up on packagist if you want to use it instead, you can uninstall the original plugin, then go to your project in terminal and type
composer require swishdigital/out-of-stock
then install the plugin in the Control Panel. Either way it will work fine in Commerce 3.
Looks like the compatibility ^2.1.0 is only checking against 2.X versions, and will not allow installation alongside Commerce 3. I do not know if there would need to be actual updates to this plugin for version 3, or if this is as simple as changing a number?
The text was updated successfully, but these errors were encountered: