Hi all,
I’ve not used wix in quite a while so I’m looking for some help here:
I am creating a website which lists all local trades workers such as handymen, decorators, gardeners etc. I want a category dynamic page which will show all of the trades, and then when each category is selected I want it to display a list of everyone of each trade. Do i need to make 1 category database of all of the trades and then a separate database for all of the people for each trade?
I’m not sure I’ve explained it very well here so apologies in advance if not!
It would probably be easier to work with a dataset for each trade, at least that way they are all grouped into their separate categories already.
Or you can just create the one dataset collection that holds everybodies information in it, just as long as you have all the trade categories listed in it as fields, either as all separate fields or as one input in an array in the one field, so that you when you query the dataset it can be found and displayed in the correct trade display.
You can still reference different fields in the datasets so that one tradesperson could be available to do more than just the one trade can be shown in something like a repeater that shows all the appropriate tradesperson on your site.
https://support.wix.com/en/article/displaying-content-from-multiple-database-collections-using-reference-fields-4034931
https://www.wix.com/corvid/forum/corvid-tips-and-updates/you-can-now-add-multiple-items-to-reference-field-type
https://support.wix.com/en/article/working-with-multiple-item-reference-fields
https://support.wix.com/en/article/about-referencing-multiple-items-in-one-field
https://support.wix.com/en/article/displaying-content-from-multiple-database-collections-using-datasets
https://support.wix.com/en/article/about-displaying-content-from-multiple-database-collections-using-datasets
Hi,
Thanks for the input, that’s what i’ve decided to do now.