Create a catalog with category and gallery

Oct 6, 2014 at 8:04 AM
Hi I'm new to 2 sexy contetnt

I want try to create a product catalog:
Each product must have 2 different gallery (one for the main images, and one for the accessories)
Each product must have a Category and a Sub Category

I create 3 content type : 1 Product 2 Gallery 3 Category (with father field)

But I never understand how to connect it, I try to read and watch all your tutorial, but I never find what I look for.

Can you help me?
thanks a lot
Oct 13, 2014 at 1:21 PM
I martin

connecting products to categories: use the field type "Entity". You can find examples in the FAQ App from the catalog

Connecting the images: if you only want to show the pictures (and don't need additional data like title, etc.) than I would just place them in a folder and automatically show them in the script. So the product "xy-102" would have a "/Catalog/xy-102/Main/" and "/Catalog/xy-102/accessories"...
...though the accessories should probably be own products, and liked through entity-relationships like the categories.

Also look at the bluimp gallery to see some neat drag-and-drop + optional-metadata for images