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

Importing product data into Craft Commerce doesn't create variants #1514

Closed
v11ncent opened this issue Sep 19, 2024 · 4 comments
Closed

Importing product data into Craft Commerce doesn't create variants #1514

v11ncent opened this issue Sep 19, 2024 · 4 comments
Assignees
Labels

Comments

@v11ncent
Copy link

v11ncent commented Sep 19, 2024

Description

I'm following the documentation on importing product data via Feed Me into Craft Commerce: https://docs.craftcms.com/feed-me/v6/guides/importing-commerce-products.html.

I have a completely fresh install of CraftCMS, Craft Commerce, and Feed Me. All on their latest versions.

I've set up the feed according to the documentation and it successfully imports the products, but no variants are created:
image

Debugging it also shows that the variants are being mapped, but not created:
image

Steps to reproduce

  1. Completely fresh install of CraftCMS, Craft Commerce, Feed Me
  2. Add example products.json from the documentation into the @root.
  3. Set up the feed as specified in documentation
  4. Run feed, everything checks out except the variant creations

Additional info

  • Craft version: 5.4.4
  • PHP version: 8.2
  • Database driver & version: MySQL (8.0)
  • Plugins & versions: Feed Me (6.3.0), Craft Commerce (5.1.2)
@v11ncent v11ncent added the bug label Sep 19, 2024
@v11ncent
Copy link
Author

v11ncent commented Sep 19, 2024

I was able to successfully import variants if I ran the import twice.

@i-just
Copy link
Contributor

i-just commented Oct 9, 2024

Hi, thanks for reporting! It looks like this was also reported here: #1525. I raised a PR for it.

@i-just i-just self-assigned this Oct 9, 2024
@i-just
Copy link
Contributor

i-just commented Oct 10, 2024

Feed Me 6.4.1 is out with the Commerce Variant import fix.

@i-just i-just closed this as completed Oct 10, 2024
@v11ncent
Copy link
Author

Thank you!

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