admin管理员组文章数量:1287555
I have a question about filtering datasets that have multi-reference fields in them. Here is what I am trying to accomplish. I have "imagecollection" dataset with fields:
- Each image will be associated with an aspect ratio e.g (1x1, 3x2, 5x7), based on the aspect of the image.
- A given aspect, on the other hand, can offer different print sizes e.g. 4x6, 8x12, 12x18, 10x10, 20x20, 40x60, depending on the aspect ratio of the image.
- Each print size can be offered in different medium (material) e.g. ("Acrylic", "Matte", "Glossy", "Fine Art").
- Based on all the above criteria, each (aspect ratio - image size - material) combination will have an associated price.
My approach was to create an "image collection" collection and then create a database, with some fields referring to other databases e.g., "Aspect" database, "2x3 size" database and "Price database". I have also created two input fields - one for image material preference and second for image size selection, which I want to filter, based on the selection in input 1.
At the bottom of the page a price will be displayed based on the above criteria. However, I don't seem to be able to have the "image size" field display sizes, based on image material in option 1. I gather, what I am trying to accomplish would require some coding, and it is not possible to achieve without a code.
Can you please provide some direction as to how to approach this problem?
本文标签: databaseWix filtering dataset with multireference fieldsStack Overflow
版权声明:本文标题:database - Wix filtering dataset with multi-reference fields - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741304425a2371281.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论