• in my store there are about 50 products and each of then has about 120 color variations (many of then are blue hues, or red hues).

    i wish to allow users to filter by “general” colors (such as blue, red etc.) and to show the results of all variations on a single page (not the products like the defaults woocommerce work).

    a lot of the colors has big similarities. for example, in a single product, about 10 color variations are a type (hues) of blue, another 12 are a type (hues) of red…

    i was looking for a solution. from what i have read, i guess the best way is to add another meta field for each variation, so that all types (hues) of “blue” colors i can associate with the unified label “blue”. all red types i will associate with “red”.

    i wish to allow filtering so that when you press on “blue” you get all the variations what are associated with “blue”, from the entire store.

    for that i need 3 things (i think)

    1) to add another meta field to variations, so that i can give each variation it’s unified color (for all blue hues, i will give “blue”, for all red hues i will give “red”)

    2) to be able to present all those variations on a search resault page. not as the default who shows only the product.

    3) to be able to filter by the main unified color (blue, red etc.)

    if anybody has any solution i will be really happy to know about it

    https://www.ads-software.com/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Before I suggest something, how do SKUs, stock and prices work for these products? Do you stock manage or price each color differently? What is the product?

    Thread Starter roycegracie

    (@roycegracie)

    no. all product variations has the same price. i use the SKU field mostly for myself. i do stock manage them but i can give that up if needed.

    what do you mean “what is the product” ? i need this to work for all products.

    for example. if a client wish to see all products what are “blue”, i want to show them to him (all blue grouped variations)

    here is an example of a single product:
    https://madeirail.com/product/mouline-cotton-rich-vibrant/

    you can see there are tons of color variations, many of them are very similar

    Plugin Contributor Mike Jolley

    (@mikejolley)

    I think I see what you mean now. I think this may require javascript if you wanted to add this on top. You could for example prefix each color variant with the group, say blue-cobalt, the use javascript to group these elements. I don’t think there is a way to do this in the swatches extension you’re using so it would need a dev.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘make variations color hues as groups’ is closed to new replies.