Can we create multiple Color type metaobjects for swatches

I’m helping a store migrate from another platform to Shopify. Part of that is they are using Horizon and want to use the built in swatch capabilities. The issue, is that they have a LOT of swatches with different names and images, and some are the same name but different images across products.

As I understand it (they are not on plus), we are going to be limited to 128 definitions for them to set up custom colors in Shopify’s built in color metaobject (or is my p.s. possible that there can be 1,000,000 entries in the colors metaobject?). So if I can’t get them to standardize, is there a way to build out another metaobject to link to the options/variants and have it be used properly for swatches? I’m just testing so may have missed it if it’s easy, but I tried to replicate the built in color metaobject and can’t do it in the admin (haven’t tried via the api). But if we can, then there may be other ways to break this out.

Has anyone done this? Any tips, info, etc. is greatly appreciated. This is the last piece of the puzzle as the rest we have importing just fine.

Definitely a PS but unclear on the limits as the page says 128 objects but 1,000,000 entries per definition on how that impacts colors added to the built in color metaobject or creating new color type metaobjects and then colors under those ( Metaobject limits ). So does that mean you can have 1,000,000 colors in the Shopify color metaobject?

Hi @MadWizard

On non-Plus plans, you can create up to 128 metaobject definitions per shop. (On Plus it’s 256.)

But on each metaobject definition, they can have up to 1,000,000 entries. This means you can have up to 1,000,000 color entries in a single color metaobject definition, not just 128 colors. The 128 limit is on the number of definitions (types of metaobjects), not the number of entries (individual colors).

Would that allow you to support this merchants use case?

Thanks @Liam-Shopify . I figured that was probably the case. Biggest issue is lack of standardization of colors to images. She has numerous “red” options and every one has a different swatch image. So putting them all as color entries as far as I understand would mean she’d have to rename each one to be distinct which is virtually impossible.

I’m not sure it would even help as it would still be ugly, but could we in theory create new metaobject definitions that are virtually identical to the color one and use that to do swatches? I haven’t had much luck so far getting the swatches to work like that but may have missed something. I’m still not sold that will work well but we’re trying anything we can (all this could be done with custom development but she fights that).