craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
289 stars 139 forks source link

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

Closed v11ncent closed 1 month ago

v11ncent commented 1 month ago

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

v11ncent commented 1 month ago

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

i-just commented 1 month ago

Hi, thanks for reporting! It looks like this was also reported here: https://github.com/craftcms/feed-me/issues/1525. I raised a PR for it.

i-just commented 1 month ago

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

v11ncent commented 1 month ago

Thank you!