7 years ago
Topic

Hello guys,

maybe anyone else got stuck in this problem before, maybe I'm thinking a bit too complicated...
I tried to realise a product catalogue with Seblod and the Seblod List & Form Plugin. I did this months ago on a much simpler level, but with this new structure I have many problems.

Example:
We have the main category "Products", in this category we have "Clothing" and "Accessoires". In category "Clothing" we have "Men" and "Women", like this:

Products
   - Clothing
      -- Men
      -- Women

   - Accessoires

Every category has its own name and description.

I want to show:
---
Clothing Headline
Clothing Description
---
Men Headline
Men Desctription
Men Products
---
Women Headline
Women Desc
Women Prods
---

Its the nearly typical shop structure on showing a category with its description and also the subcategories with description and iths products.

What I did before:

I built a simpler version of this only showing the headlines, descriptions and products of the subcategories. But I could'nt get the parent categories name and data

I tried to build at first a search list for my products, then build a second search list for searching the subcategories. These two Search Lists I combined with the Seblod List Plugin.

My problem:
If I try to make a third list for searching the mains category name and description and then try to map it on the second list (so in fact I have list in list in list...), so I got no error but I also get no output anymore.
The search list themselves are working properly. The ouput fails only if I try to use more than two of the List Plugin.

Maybe anyone of you built a catalogue structure before with simpler ideas, I would be very happy If you could share your ideas...

Thank you, Kiki

Watch video on Youtube.com

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
1
Level 1

Hi,

as you figured out yourself,you can't have more than one level of nesting. But this is solvable - you need to have one parent and multiple children structure. Easiest way to do this would be to drop usage of classic category content type and create new content type, e.g. product category (using article object), that will serve as parent. In there you would use description text field plus Select dynamic cascade to specify 1st - 2nd -3d etc category levels (and since each record will have information about all levels). Then in the search type searching on this content type you can add list field for each level (each using one cascade as passed value).

7 years ago
0
Level 2

Yessssss, thank you. Got it :-)


I'll make a tutorial in german and I'll try to make another one in english, but I'm not a native speaker so everyone will get some "uhs" and "ahs" whren searching for the right words.

4229 Posts
Kadministrator
7 years ago
0
Level 1

Great! Thnx

7 years ago
0
Level 1

Iis very very hard for me in english, but I tried my best. I hope this would help any other:

https://www.youtube.com/watch?v=mHPn6xrmHQY

https://www.youtube.com/watch?v=PSWgEB7Xus0

Get a VIP membership