Can we have multi-parent-category in Spryker?
Hey-hey, Sprykees.
Can we have several parent categories in Spryker? For example: "New Year Tree" belongs to "Garden" parent category and to "Holiday Decorations" parent category at the same moment.
But I have no idea how to do it with Spryker. Is it possible? Is it too complex task? Maybe, somebody did it yet and has a list of steps how to implement this?
Thank you in advance.
Answers
-
not directly resolving your question, but I'm wondering if this would help you out with the problem that you want to solve:
but you could have a product assigned to multiple product 'lists' and have specific landing pages for them?
Or do you want to leverage filters and such? (in which case an alternate route could be attributes).0 -
No, it's not I was thinking about:(
0 -
Hi Volodymyr!
This is not possible in Spryker, each category can only have one parent.
I would not advice changing how categories are stored in Spryker: the logic of saving categories and building trees is quite complicated.
I think in your example you could create two "New Year Tree" categories, first with "Garden" parent, second with "Holiday Decorations" parent. You can assign the same products to each of "New Year Tree" categories.
You could even put this "duplication" logic right in your import process. Let's say in your PIM (or any other source of data) you have just one "New Year Tree" category with 2 parents. When you import this data to Spryker, you can automatically create 2 duplicates of the "New Year Tree" category (with the same "alias", you could add a new field into spy_category), and later also automatically assign all required products to all duplicates of the category.
0 -
Thank you for your answer. Probably, will do so.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 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
- 69 Spryker Safari Questions
- 50 Random