I have pre-made products that have different attributes like paint colors and stain colors for trim and for siding. Trim can have either a paint color or a stain color. Siding is the same. We have this setup on multiple product types like chicken coops, dog kennels, screen rooms... How could I best represent this in Toolset? I know in WooCommerce attributes are taxonomies, but the conditional nature of our paint and stain options doesn't seem to work well with taxonomies. Additionally, we have a hex color code associated with each paint and stain color that we would like to use to show the color on screen in filters and in views/templates. I need some advice on how to organize this data.
I thought about using a CPT for the paint colors. Or perhaps using CPTs for the trim and siding, but since the colors are the same for both I'd like to not have to have duplicates of the same colors in both. Would I want to have CPTs for both with relationships?
Is there any documentation that you are following?
I searched and didn't find topics similar enough to this issue to help me.
Is there a similar example that we can see?
dev.omrto.com/product/chicken-coop has a WooCommerce product with the above options as well as others. This is a "build-your-own" configurator. It will be separate from already created inventory, but the existing inventory will have all the same attributes.
I'm trying to recreate the search nearest location option so I can display current inventory above the build your own section to encourage people to buy something already built.
Hello. Thank you for contacting the Toolset support.
What if you think of "paint colors" as custom post type and then add repeating field group as "rfg-trim-siding" and to this repeating field group you should add field that should hold the hex color code and another radio button field that should have options like:
- trim
- siding
- both