Tell us what you are trying to do? We have a CPT "Creators" that contains certain members profile. These Creators can publish custom products they make. We want to allow them to order their creations into Collections.
Is there any documentation that you are following? No.
Is there a similar example that we can see? Not really.
What is the link to your site? enlace oculto
---
Hello guys,
Looking for some hints to steer us in the right direction to achieve what we want.
The goal is to display a page that shows a list of Collections, which is a group of WooCommerce Products that our Creators (CPT) can organize their Creations into.
Currently, "Collections" is a WooCommerce attribute as this is used in the product additional information displayed on the single-product page. It can also be used to filter products lists.
Assuming we want to display a custom template for the Collection page instead of the WooCommerce Attribute template, do we necessarily have to link products to "Collections" twice?
What I mean is that if we want to display a custom template, then I think we'll have to create a new CPT "Collection". Then we will create a relationship one-to-many from "Creators" to "Collections" and many-to-many from "Collections" to "Products".
Then when we configure the product, we will have to add the Collection as a WooCommerce attribute **AND** we have to add the relationship from the product to the Collection CPT.
Is this the right approach? Ultimately this will be automated via code but I just want to make sure it's the right approach and I'm not doing things in double.
The reason why we added Collection as a WooCommerce Attribute is that it can be easily used to filter products in listings and is automatically displayed in the product additional information. However, we want to limit the number of "Collections" a "Creator" can make based on his membership level and we want to customize the template that displays the "Collection" (like maybe let the Creator choose a custom banner). For this, the creation of a CPT made sense.
Let me know if I didn't explain clearly enough or if my explanation is confusing and I'll try to rephrase.
Waiting for your feedback.
Thank you!