Hi, all!
I’m developing an application—a plugin to enhance the functionality of Wix Stores using the Wix CLI. This is my first experience, so I apologize in advance if my question seems trivial, but unfortunately, I haven’t found a clear answer.
My application needs its own collection to store settings and product relationships. When I create such a collection through Wix CMS and access it via @wix/data, everything works fine.
The problem is that when installing the application on a new site, this collection isn’t created automatically; the user has to create it manually.
Is there a way to have it created automatically upon application installation? Perhaps there’s another method to implement these relationships.
In this case, I need: ProductId → Array of connected products → Active/Inactive
Thank you in advance for your assistance!