Bundling SKUs in Kentico 11

Don Rea asked on April 21, 2022 18:40

I've been asked if it's possible to create a commerce item that is a bundle of other commerce items. Ideally the end user can select a single choice for adding to their cart, that will appear as the bundled items in the cart.

Example: If I have two books about beekeeping, Bees For Dummies and Basic Bees, we'd like to have Bee Book Bundle also appear as a choice in the list of books. If a purchaser selects two of Bee Book Bundle it will appear as two each of Bees For Dummies and Basic Bees in the cart.

I am very new to the whole Kentico ecommerce thing, so I don't see any good way of doing this. Does anyone with more familiarity see a good approach to this?

Recent Answers


Juraj Ondrus answered on April 22, 2022 06:00

Is there a reason why the default bundles do not work for you?

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on April 22, 2022 07:01

Hi Don,

Couple things to add to Juraj's comment:

  1. The way how you would present these products on the shopping cart page is really up to you. Please refer to this example in the documentation. In your case, shopping cart item will be a bundle (single item) and when displaying it to the user you can write some logic to expand it and show as 2 separate items instead.
  2. If you'd also want the system to automatically bundle the items (if visitor separately adds Bees For Dummies and Basic Bees), Xperience will not do it out-of-the-box. You will require to write this piece of code as a custom logic.
0 votesVote for this answer Mark as a Correct answer

Don Rea answered on April 22, 2022 21:13

Juraj: The default bundles doc does not match anything I see in the admin UI. It begins with, "If you are adding a new product or editing an existing one (on the General tab), you need to select Bundle as the value of the product's Representing property." But I sure don't see anything referring to the Representing property, or to bundles in any way, on that tab (or any of the others).

Dmitry: Thanks for the pointer. Custom coding was what I was hoping to avoid, but sometimes it's not avoidable, I guess

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on April 25, 2022 06:40

You can find Representing dropdown here in the product editing interface:

Image Text

All you need to do is just selecting "Bundle" in this dropdown.

0 votesVote for this answer Mark as a Correct answer

Don Rea answered on April 25, 2022 20:57

It sure looks like you're looking at a different version - I'm on Kentico 11, as in my tags. This is what I see when I create a new product. Image Text

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on April 26, 2022 08:32

This interface hasn't changed really from version 11 to 13. Please see the screenshot taken from clean installation of Dancing Goat demo site on v11, Pages application when you're trying to add a new product:

Image Text

By the way, on your screenshot I can't see other important Product properties in General section, like Price, Tax class, etc. Is it possible that you have a customization of these forms via Alternative Forms to hide some system fields?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.