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

Properly handle import when a Product Model has the same code of a different Product in Akeneo #65

Open
mmenozzi opened this issue Mar 24, 2021 · 0 comments
Labels
bug Something isn't working RFC Request for Comments

Comments

@mmenozzi
Copy link
Member

Currently if on Akeneo there's a Product Model whose code is the same of a different Product which is not a variant of the Product Model itself, the importer puts everything inside the same Product on Sylius.

For example if on Akeneo you have:

  • Product Model A
  • Product A.1 (variant of A)
  • Product A.2 (variant of A)
  • Product A

On Sylius you'll have:

  • Product A
  • Product Variant A (variant of A)
  • Product Variant A.1 (variant of A)
  • Product Variant A.2 (variant of A)

Instead, expected result on Sylius should be:

  • Product A
  • Product Variant A.1 (variant of A)
  • Product Variant A.2 (variant of A)
  • Product ?
  • Product Variant A (variant of ?)

The issue here is that Akeneo have Product Models only for configurable products but Sylius always have Product (which is the Product Model on Akeneo) and Product Variant (which is Product on Akeneo). When the product importer imports a simple Product from Akeneo it creates a the Product and Product Variant on Sylius with the same code. So there would be a code collision between Product on Sylius if on Akeneo a Product Model has the same code of a different Product.

How should we handle this?

@mmenozzi mmenozzi added the RFC Request for Comments label Mar 24, 2021
@mmenozzi mmenozzi added the bug Something isn't working label Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working RFC Request for Comments
Projects
None yet
Development

No branches or pull requests

1 participant