If you’re using WooCommerce 3.0+, please check out this guide instead!

Today’s Ask SellwithWP question comes from Rick:

How do I use WooCommerce grouped products? I can’t find a WooCommerce grouped products tutorial anywhere, and the documentation is a bit tough to follow.


This is a great question. Grouped products are part of WooCommerce core, yet they’re not frequently used. For stores that want to sell products that are bundled or “sold as a unit”, there are several available options. However it can be tough to decide which option is right.

This quick WooCommerce Grouped Products tutorial will walk through the appropriate use-cases for grouped products and how to set them up.

When to Use WooCommerce Grouped Products

So let’s start with when to use grouped products before we discuss how to create them.

Grouped products are simply a group of simple products – you can sell products individually, or sell them in a group. However, the second part is what throws people. The core grouped products functionality is meant when you don’t have to sell the products in a particular group, bundle, or configuration, and that customers don’t have to buy everything in the group. It’s more about displaying the products together to (a) make it easy to purchase them together, and (b) tell customers or remind them that you have a related product.

A good use case for a grouped product is an iHome – customers that purchase this product will most likely need batteries as well. You can offer a package of batteries along with the iHome in a grouped product to remind customers they might need this product, and they can purchase both at the same time. Both the iHome and package of batteries will also be displayed as standalone products in your catalog.

Think of WooCommerce grouped products as a set of related products. The WooThemes documentation gives the example of a furniture set, which is also appropriate. Pieces in a living room set can be purchased separately, but you could also list them as a product group to let customers simply add which pieces they’d like to purchase. You can use simple products as part of a group.

As a side note, grouped products make coupon creation really easy, as you can restrict a coupon to the bundle, and the coupon will apply to any product within the bundle, but not others. However, this does not work with the Bundle Style Coupons extension.

How to create WooCommerce Grouped Products

To create a grouped product, you’ll need to take a few steps. After we’re done, our finished product will look like this:

WooCommerce grouped products tutorial

Grouped Product

First, we need to create this grouped product so that we can add other simple products to it. Add a new product to your catalog, and create a “Grouped Product” type:

WooCommerce Create Grouped Product

Create Grouped Product

I’m going to make this my “bundle” option for the products I sell individually. In this case, I’ll call it “iPhone 5c / 5s Bundle” and add a bunch of iPhone products to it. This makes a handy landing page for advertisements or affiliates if you’re promoting all of these products instead of your main shop page.

Once I’ve set up my grouped product page, I need to add some products to this group. Using new or existing products, add these to your new group while editing the products. You can do so from “Linked Products” under Product Data:

WooCommerce add product to group

Add product to group

Do this for every product you want to be in the group, then check out your product with the “Grouped Product” type. Now all products in the group are displayed in the product page like our example!

By default, all products will be visible. If you think customers won’t need any other info than the name and price for a product in a group, or you’ve included that information already on the grouped product page, you can choose to make the individual products hidden. This will allow the product to be purchased only via the grouped product page, but hide it elsewhere and remove the link to the product page.

Conclusions: Take it Further

My favorite way to implement this is to use the grouped product page as the primary page for a “main” product, then have small add-ons or upsells in the group. I first add all product details for the “main product” to the grouped product page that I can.

I then create the “real” page for my product, and only include pricing and inventory information. Then, I set the visibility of the main product’s page to hidden:

WooCommerce Hide products from catalog

Hide products from catalog

This makes sure that this product can only be found and purchased from the grouped product page. I then create any other products I want to sell with this main product, and add them to the grouped product.

In the example below, I’ve set up a grouped product for a camera. I’ve also put batteries and a case in this product group as well, but I’ve hidden the product page for the camera (where I’ve only entered stock and pricing information). This lets me put the description and all details on the “group” page and makes this page the only option available to purchase the camera item.

WooCommerce Example Grouped Product

Example Grouped Product

The batteries and case titles link to the product pages for these items, as I haven’t hidden them from the catalog and sell them individually in addition to selling them as part of this group.


That’s all there is to it! Want to see more Ask SellwithWP questions? Check out all questions or submit your own!

Articles you may also like:

Posted by Beka Rice

Beka Rice manages the direction of Sell with WP content and writes or edits most of our articles to share her interests in eCommerce. Or she just writes as an excuse to spend more time jamming out to anything from The Clash to Lady Gaga. Who knows.

39 Comments

  1. I have implement groups product in my woocommerce. I have want to all group products show in relative product area and also show buy or add to cart button.

    Please solve this problem, and I have solve image showing in single product page of group product.
    Thanks

  2. Thanks Beka, great article for showing how WooCommerce Group products can be setup!
    I’d like to know your thoughts on whether using Grouped products is the right way to go when you are selling products that each have different pack sizes (1mg, 5mg, 10mg) but otherwise are identical (with same documents, pictures, attributes). I want to avoid duplicate content in having multiple WooCoomerce product pages for the same ‘product’ for SEO reasons. Is WooCommerce setup to prevent issues with duplicate content when hiding the products like you did for the main camera if i did it for each page with the individual pack size? The single products in a Group still exist even if they are hidden from Category or Search so I’m unsure…

    1. Hey Steve, I’d recommend just setting this up as a variable product instead — each variation could be a different package size, and then you’d be able to adjust the pricing, shipping weights, etc, accordingly when the right variation is selected.

      1. Thanks Beka, I ended up trying out variable products as an alternative just like you suggested. I just like the way the Grouped products show up in a table format on the single product detail page, and how easy it is to link in additional products that might be related.

        It is a shame that WooCommerce doesn’t offer the option to display variable products in the same format as Grouped products. So I’ve been looking at plugins to assist me in listing the variable products in a table that will still work with wishlists.

        Thanks again 🙂

        1. Great article.
          Steve, you can try Product Bundle which has similar features but it lets you use variable products.
          Cheers,
          Daki

  3. hi guys,

    i would like to ask if it’s possible to have a grouped products but under these products need only to select one item.
    For example, Product A and under to it have Product A1 and Product A2. But you can’t but the two. you only need to select one item.

    Please help.

    Thanks,
    Nelson

    1. Hey Nelson, sounds like Composite Products could be a good fit here, has you can “build” a product by selecting from one of a set of components.

  4. Hello great article. Just have a few questions… there a reason you cant set all the products on your site using groups instead of variables? Do you know of any errors that could occur? I ask cause this is what I have done and it would be a mammoth task to swap all 500 to variable. Thanks

  5. Hello,

    I would like to know if you knew how to add the photos of each product under the grouped product page.

    I have tried but no idea how to do that…

    Thanks for your answer 🙂

  6. Would this be the way to sell, for instance, a book that comes in 3 different editions? Meaning hardback, paperback and ebook? Was wondering how to set this up on my page using WooCommerce.

    1. Hey Kari, I think a variable product would work better, as customers are most likely only choosing one to buy. Grouped products are best when the products are typically bought together (think camera + bag + batteries).

      1. Ok great! I am brand spanking new to wooCommerce, so didn’t even know about these features. Will do a little research now. Thank you!

        1. No problem 🙂 the WooCommerce 101 video series that WooThemes put together recently is also helpful.

  7. I want to sell a product individually and in a group. When customer buy it with group, it is OK to show the product in cart as group name->product name. However, it is not good to still show group name before product name in cart when customer buy it individually. any ideas to fix this?

    1. Hi Frank,

      I am in the same situation. Did you find a solution for this?

  8. I’m using group to show different pricing for a resource, based on whether it is being purchased by a school or a district. I only want the group to show up on the Shop page, so I hid the individual simple products. Only the group shows up on the Shop page, but, when you click on the group the name of the simple products is unreadable. What am I doing wrong?

    1. Not sure what you mean by unreadable? If they’re hidden, they’ll look like this on the product page: https://cldup.com/vjw8lO3Wwk.png

      Name, no link. If they’re not displaying like that, my best guess would be that your theme is changing they way they’re displayed.

  9. Thank you, Beka. It does show as you suggest. I needed the name and the link to show up. I figured out a workaround using a shortcode to show only the featured product on the Shop page, leaving the simple products visible.

    What I’d really like to do now is eliminate the Shop page altogether. The group product I created looks a lot better than the Shop page and since we only have this group product I want visitors to go directly to the group page without having to go to the Shop page. I have links on a page allowing visitors to go directly to the group page, but can’t find a way to get rid of the “Shop” menu button. I’m guessing that is not allowed by WooCommerce. Any suggestions?

    You can visit the site at graybeardeducators.com.

    1. I simply took the “Shop” menu item off of the navigation menu. Too simple to have missed that option!

  10. Hello,

    I am selling tickets in my website, so i use grouped products for different categories of seating. Is there a way to discourage search engines to read all of the simple products?

    thank you!

    1. Hey Akif, you could probably do this by putting them in a category and noindexing products in the category. Something like this would probably work, but I’d test it first:

      function sww_noindex_some_products() {
          // Replace category_slug with your own category slug
          if ( is_product() && has_term( 'category_slug', 'product_cat' ) )  { 
              echo '<meta name="robots" content="noindex, nofollow">';
          }
      }
      add_action( 'wp_head', 'sww_noindex_some_products' );
      

      1. hey beka, that category shouldn’t be visible in site also, it will be look empty. Can we use this code for all uncategorized products? Because, in default they remain unkategorized.

        thanks

  11. I am looking to use grouped products to sell tickets. So for an event we have a total of 100 seats and sell adult and child tickets. Is there a way to manage inventory for the whole group rather than for each ticket type ?

    1. Hey Chris, I’m afraid grouped products don’t have their own inventory, as it’s managed by the child products (in this case, your adult / child tickets). You’d need custom code to limit the total purchases of both of these together to 100, as I don’t know of a plugin that will tie the inventory of two products like this.

  12. Hi Thanks for your Article.. It’s Really Great.. But I’m Facing Small Problem.. When i Hide the Child Product .. tht product name is not showing group product.. only price is showing but not the name of product

  13. Hi,

    Is there a way to bulk assign child products to grouped products? Because i have a lot of grouped products with 4 or 5 child products and it is difficult to link them one by one.

    Thanks

    1. Afraid not. You could use the Product CSV Import Suite to set the parent product ID — the “grouped” product is the parent, all child products would have its ID set at the parent ID. Probably the only faster way I’m afraid.

  14. Hello Beka, I just would like to ask if it is possible to set up a Coupon that only works, when people order the bundle (all 3 products in the grouped product). The coupon works on all child products but my aim is to only make it cheaper when you buy all three. Can you help please? Thanks.

    1. Hey Judith, there’s a bundle coupon plugin that should help — check out plugin #5 in this post.

  15. Thanks for article, one thing is puzzling me in your example of the group of ‘camera’ & ‘batteries’ etc.
    Which is that you might want to sell the product ‘batteries’ in several different groups i.e. the same batteries would be useful across a range of products. But when I go to link say the simple product ‘batteries’ I only seem to be able to assign it to one group. So I can assign to the Camera group but not also to Digital Recorder group. Is this correct? Thx

    1. Hey Barry, that’s correct, a product can only belong to one group. I think you’d want Composite Products to do something like this instead, which should give customers the choice to add the batteries when purchasing other products.

  16. Hello.
    Thanks for your informative post.
    trying to work out if the “grouped item” function is what I need.
    I sell ink cartridges with free delivery.
    I cant offer the small ink cartridges with free delivery so I offer them as sets, but want the ability to have individual cartridges added to a set. I don’t want the individual cartridges to be available for sale though, just visible as add on’s to a set.
    I can create an item for the set, just not sure how to create the add on individuals.
    If I use the grouped function it appears that they will be visible in the catalogue.
    I see there is also a “composite” option, is that better.
    Thanks.
    Ian.

    1. Hey Ian, you could hide the individual product pages for the cartridges from the category, but with a grouped product set up, there’s no reason a customer couldn’t just add cartridges alone to the cart. I think something like Force Sells may be your best bet, as that would remove cartridges without a “main” product, but I’m not sure if this quite fits for your use case.

  17. Thanks for your reply.
    As you stated, the forced sell option is no good as I want to offer the customer the option to add one or more of the 4 types of cartridge to the set they are purchasing. In other words if they buy a set of cartridges but want to add 1 cyan and 2 blacks. I have made a hidden item, but cant work out how to group it as it does not show when I try to group it with the set. If I include them as related items, my customers can add them on as normal items, but may be able to delete the set in the cart leaving a single cartridge, which I am trying to avoid. I will keep on trying, but it is not as simple as I had hoped it would be.

    1. Hey Ian, preventing a single product from being purchased if alone is definitely a difficult set up to achieve, I’ve not seen anyone with this setup myself. To do so would most likely require a custom plugin built for you to prevent checkout if the “ink cartridge” category is the only category present in the cart.

      A final option: you could consider Min / Max Quantities to require a certain cart total before checking out — this may work if ink cartridges are a lower-priced item compared to the rest of your catalog, as you could require a certain minimum cart value for checkout.

  18. Thanks Beka,
    the minimum amount may be the best idea.

    My requirement would be similar to a car sale. You can buy a car and you can add the option of sunroof, auto or metallic paint for an extra amount. However you cant order the sunroof, auto or metallic paint unless you have bought the car first.

    I will try the minimum amount for the shopping cart for now, but I believe there is something out there I just don’t know what it is called and with plugins if you don’t spell it exactly it wont show in a search.

    Maybe one of your readers may see this and know what I am after. I appreciate your time and ideas.

  19. Hi Beka,
    just a quick follow up to my last post.

    I decided to do a plugin search of just “woocommerce” (all 101 pages). on the 4th page I found a plugin called “product dependencies”.
    If I try to buy a single cartridge it gives me a message that access is only granted after purchasing the other product (in my case a set). So purchase of the smaller product is dependant on purchase of the larger product.

    Initially this looks like it will suit my purposes even though it is not updated to my version of WordPress yet.

    Just thought I would pass this on in case it is helpful to you or your readers in the future.

  20. Hi Beka, great article!. I want to sell Beer Boxes and now I’m using woocommerce. The thing, is that I want that clients can select 6 beers from 12 (all my beer products) and be able to create their box as the client wants.

    For example, I go to BEER BOX and select 1 Beer Black and 5 Beer Red, how can I do to avoid that the clients select more that 6 in total?, like a said, the box is just a SIX PACK.

    Other thing is let the client select more than one SIX PACK, for example:

    1 SIX PACK -> THEN SELECT 6 BEERS FOR PACK 1
    ADD OTHER SIX PACK
    ->SELECT 6 BEERS FOR PACK 2

    Is that possible?

    Thanks

    1. Hey Felipe, I think this article should cover what you’re trying to do 🙂

It's been over 2 years since this post was published, so comments have been closed. Thanks for reading!