Forum

Thread tagged as: Question, Gallery

Gallery app as product list

Currently I am using gallery app for displaying products. I've got

Retail or Wholesale (Gallery app correspondence is An additional field added by checkbox)
Categories(Chocolate, Seasoning, Frozen .....) (Correspondence is Album)
Sub-categories(Milk Chocolate, Dark Chocolate .....) (Correspondence is Image)

Gallery app works fine in this scenario.

Now the client wants to add more detail to it, he wants to have Detail-categories under Sub-category(Milk Chocolate A, Milk Chocolate B, Milk Chocolate C .....), while Categories, Sub-categories, and Detail-categories should all contain their individual image/images, Retail or Wholesale doesn't need image.

Any idea how to achieve? If not possible in Gallery App what else can I use?

Andrew Liu

Andrew Liu 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

I would be using regular Perch Content with the Categories app for this. It doesn't sound like an ideal use of Gallery.

Awesome. Categories app just came out in time! Do you have an example of how to use "regular Perch Content with the Categories app"?

I have added an image tag in both set and category.

<perch:categories id="setTitle" type="smarttext" label="Title" required="true" />
<perch:categories id="setSlug" type="slug" for="setTitle" label="Slug" />
<perch:categories id="image" type="image" label="Set cover" />
<perch:before><ul></perch:before>
<li style="margin-left: <perch:category id="catDepth" type="hidden" />0px;">
    <h4><perch:category id="catTitle" type="smarttext" label="Title" required="true" /></h4>
    <perch:category id="catSlug" type="slug" for="catTitle" suppress="true" />
    <perch:category id="desc" type="textarea" label="Description" editor="markitup" markdown="true" size="s" />

    <perch:category id="image" type="image" label="Cat cover" />
</li>
<perch:after></ul></perch:after>

Where can I add perch content?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Awesome. Categories app just came out in time! Do you have an example of how to use "regular Perch Content with the Categories app"?

Yes: https://docs.grabaperch.com/video/tutorials/techniques/portfolio-with-categories/