Forum

Thread tagged as: Question, Shop

Output all product options

Hello,

I am trying to display all the available product options so I can use them as filters in my shop. Is this possible? There is a way to display categories, brands and products, but I can not find it for options.

Thanks, Mike

Mike Hendriks

Mike Hendriks 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, have you followed the examples in the docs?

Sorry I marked your response as solution, but I still didn't find the docs for it, haha. Could you guide me to the right docs?

Could you please help me with this one? I am really stuck here.

Duncan Revell

Duncan Revell 78 points
Registered Developer

Thank you Duncan. But these are for individual products. I would like to output all the available options of ALL my products. So I could make a filter, for example 'Colors', which shows all available colors through every product.

So if I would have 2 products:

1: blue and black 2: yellow and green

I would like to output: - blue - black - yellows - green

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Hi Mike,

I don't think there's a built-in function for this at the moment so you would need to write your own.