Hi,
I am building a theme for our shop and I run into a little problem.
We want our customers to be able to browse on product type or collection.
In the layout each collection is represented by a button with a label and an image.
But we want the same to layout for the product types.
Now, product types are not treated like collections so they can not have an image attached.
So I am looking at a way to provide an file upload field in the theme settings per product type.
But rather than hard coding those fields I would like to have them dynamically generated form the available shop.product_types.
Is there a way to achieve this?