• Resolved marcellous

    (@marcellous)


    Hey Guys, is there a way to group the variations of a product?

    I have more than 20 variations of a variable product in one attribute and I want to improve the structure in the front end. My goal is to put headlines between the variation swatches for each material type so the user has a better overview.

    Actually the structure is like this:
    (O = swatch of a material)

    Material
    O O O O O
    O O O O O
    O O O O O
    O O O O O
    O O

    My Goal should look like this:

    Headline of Material type
    O O O O O

    Headline of another material type
    O O O O O O

    Headline of next material type
    O O O O O O

    Is there a way to solve this?

    A way could be to make several attributes for each material type. But then the problem is that WooCommerce wants the user to select a variation from each attribute in the front end. Is there maybe a way to avoid this behavior of woocommerce? So when any variations from e.g. five attributes is selected there is no need to choose from the other foor attributes?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    There isn’t any functionality in WooCommerce that would allow you to put a divider in your attributes list. That would require some custom coding.

    If you are comfortable writing code yourself, you can join the WooCommerce Developer Slack group.

    Otherwise, there are some plugins that could help with the setup of your products. Composite products would be a good option, as you could display each of these headings as a different option. Then have the user choose one option from the possibilities.

    https://woocommerce.com/products/composite-products/

    Thread Starter marcellous

    (@marcellous)

    Thanks for your answer. I checked the composite products but I don’t think that this helps, because it should not be possible for the user to choose multiple options.

    To explain the use case more detailed:
    The shop is for furniture with several wood types, which look nearly the same. For example you can choose between solid wood, wood veneer or wood decor of oak wood. All oak swatches look the same and I want to structure them by wood type for a better user experience.

    So swatches of solid wood should be below the headline “Solid Wood”, swatches of wood veneer shoould be below “Wood veneer” etc. In other words, I want to group attributes after wood type.

    There is a plugin which can do this, but it’s too expensive in my opinion, because I would only use the option to group attributes and my theme already have swatches available.

    https://docs.iconicwp.com/article/195-group-woocommerce-product-attributes

    I could also make different attribute sets by wood type, but then there should be the condition that only one of the attributes from all sets could be selected by the user.

    Is there maybe another one, who knows a (cheaper) plugin or a way to achieve my use case with code?

    Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    I checked the composite products but I don’t think that this helps, because it should not be possible for the user to choose multiple options.

    You can limit the customer to one choice per step.

    So in your scenario in the first step the customer could select between:

    Solid Wood, Wood Veneer, and Wood Decor

    Then based on their choice in the first step, the plugin would dynamically load the selections for the second step.

    So if they picked Wood Veneer, they would see all of the veneer options. If they picked Solid Wood, they would see all the solid wood options.

    Then once again they can make a single selection from the available options.

    I can’t comment on plugins from third-party developers. It’s likely that there are other plugins from different companies that do this, I’m just not aware of them. You can try searching on http://www.ww.wp.xz.cn/plugins or using a search engine like Google.

    I hope that helps a bit.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Variable Product – Group Variations / Attributes’ is closed to new replies.