What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello all, if we use the same sku for both abstract and concrete would it be an issue for spryker?
Comments
-
We have added an underscore as prefix to the SKU (for abstract). Even if this isn't an issue: do it for readability π
0 -
i was thinking the same π
0 -
we did use the same sku, and started to get troubles when we introduced some products where this diverges, as it's not always obvious which one is used...
0 -
So you end with code which only runs by accident - or as long as this stays true
0 -
\Spryker\Zed\Product\Business\ProductFacadeInterface::findProductAbstractIdBySku is on example we struggled with. From the specification / naming what sku do you expect to be used here?
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
We use the same and we have no problems til now... (but we have only 1 concrete per 1 abstract now...)
0 -
It's not a problem to use the same SKU for concrete and abstract. you would need to have different a SKU for any concrete beyond the first, but that's a requirement in general since SKUs have to be unique ...
0 -
Just found this topic and want to add some information:
It looks like at least the DataImport (especially the product-image-import) does not work correct if abstract-sku = concrete-sku0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random