Product page sub-group

hi,

I’m trying to create a product page similar to the example shown in the attached screenshot. Specifically, I want to organize the fabric or color options into separate categories—like “Performance Textured Weave,” “Woven Chenille,” and “Velvet”—with each group displaying its own color swatches. The key point is that these options should appear independently and not be linked together as a single variant dropdown.

Their website link: https://7thavenue.co/products/4-seat-sectional?variant=42909080322291

Hope someone can help me with this

Hello @FrogMan25

Thank you for providing the link to the 7th Avenue product page. Upon reviewing it, I see that their product page showcases fabric options grouped under distinct headings like “Performance Textured Weave,” “Woven Chenille,” and “Velvet,” each accompanied by its own set of color swatches. These swatches are organized into separate sections, allowing customers to view and select fabric types and colors independently, rather than through a single variant dropdown.

To achieve a similar layout on your Shopify product page, you can consider the following approaches:

Option 1: Using Metafields to Group Fabric Options
Shopify allows you to add custom metafields to products, which can be utilized to group fabric options. By assigning a metafield for the fabric type to each variant, you can then customize your theme to display swatches grouped under their respective fabric type headings.

Steps:

  1. Define Metafields:

. In your Shopify admin, navigate to Settings > Custom data > Products.

. Create a new metafield definition, for example, Fabric Type, with a single-line text type.

  1. Assign Metafields to Variants:

. For each product variant, assign the appropriate fabric type in the metafield you just created.

  1. Customize Theme to Display Grouped Swatches:

. Edit your product template to loop through variants, grouping them by the Fabric Type metafield.

. Display each group with a heading and its corresponding color swatches.

Example Liquid Code:

{% assign fabric_groups = product.variants | map: 'metafields.custom.fabric_type' | uniq %}

{% for group in fabric_groups %}
  #### {{ group }}
  
    {% for variant in product.variants %}
      {% if variant.metafields.custom.fabric_type == group %}
        
      {% endif %}
    {% endfor %}
  

{% endfor %}

Note: Ensure that each variant has a color_hex metafield for the swatch color.

Option 2: Utilizing Line Item Properties
If your fabric options do not need to track inventory separately, you can use line item properties to collect fabric selections. This method allows for more flexibility in displaying options but doesn’t associate selections with specific variants.

Steps:

  1. Modify Product Form:

. Edit your product form to include custom inputs for each fabric group and its colors.

  1. Handle Selections:

. Use JavaScript to manage the selection of fabric types and colors, ensuring only one selection per group.

  1. Display Selections in Cart:

Line item properties will automatically display selected options in the cart and order details.

Example HTML Structure:


  #### Performance Textured Weave
  
  

  #### Woven Chenille
  

Recommendation
If managing inventory for each fabric and color combination is essential, Option 1 using metafields is the preferred approach. It allows for precise control over variant inventory and provides a structured way to display grouped swatches.

If inventory tracking is not required for each combination, Option 2 offers greater flexibility in presentation and is simpler to implement.

if you need help plz let me know

Thank you :blush:

Hi,

thank you so much for your reply. Yes, could you help me with steps to set it up?

Thank you!

Hi,

yes, I will need additional help with steps.

Hi there :raising_hands:

What you’re looking to build is definitely possible without having to squeeze everything into a single variant dropdown :blush:

From your example, it sounds like you want to organize fabric options into separate categories such as Performance Textured Weave, Woven Chenille, and Velvet, with each category displaying its own color swatches independently.

I’ve created a similar demo to help visualize how this can work:

  • This is the result:

  • This is the app setting:

To achieve this, you can create separate option groups in Easify Custom Product Options and choose a display type such as Image Swatches or Color Swatches, depending on how you’d like the fabrics to be presented. Each fabric collection can have its own dedicated swatch section, allowing customers to browse and select options much more visually.

For example, you could create one option group for Neutral Thread Colors, another for Cool Thread Color, and another for Warm Thread Color. Inside each group, simply add the corresponding fabric colors as image swatches or color swatches to create a layout very similar to the one in your screenshot.

This approach works particularly well for furniture stores because customers can easily compare fabrics and colors without navigating through a long list of variants.

Hope this helps! Feel free to reach out to Easify’s in-app live chat if you’d like assistance setting up a similar configuration :pink_heart:

Hi @FrogMan25,

If your goal is to display fabric or color options in separate groups instead of combining everything into a single variant selector, one approach is to use a product options app.

For example, Inkybay – Product Personalizer includes a Product Option feature that lets you create multiple option groups on the product page. You can organize options under headings such as Performance Textured Weave, Woven Chenille, and Velvet, with each group displaying its own color or image swatches. Since these are independent option groups, they don’t have to be linked together as a single Shopify variant.

The feature also supports other option types such as dropdowns, radio buttons, checkboxes, text fields, and file uploads, with optional pricing if needed. Customer selections are automatically included with the order details, making order processing straightforward.

Hope this gives you another approach to consider.