Skip to content
New issue

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

Error when setting the stock property in a product import #1428

Open
ax2000 opened this issue Apr 12, 2024 · 1 comment
Open

Error when setting the stock property in a product import #1428

ax2000 opened this issue Apr 12, 2024 · 1 comment
Labels

Comments

@ax2000
Copy link

ax2000 commented Apr 12, 2024

Description

When trying to import products, I'm getting the following error:
Setting read-only property: craft\commerce\elements\Variant::stock - Component.php: 206

Screenshot 2024-04-12 at 11 11 26

Screenshot 2024-04-12 at 11 16 24

Additional info

  • Craft version: Craft Pro 5.0.4
  • PHP version: 8.2.10
  • Database driver & version: MariaDB 10.2.44
  • Plugins & versions: Feed Me 6.0.0
@ax2000 ax2000 added the bug label Apr 12, 2024
@sunnylawn
Copy link

Yeah, also hitting this issue... We're not using the default value but a specific value in the feed element, but same error.

Commerce 5.0.2 / Feed Me 6.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants