The most complicated part of the feature was the functionality to allow the merchant to customise how many items from each category were to make up a bundle, and to associate the desired product tag and icon for the category. For this, I implemented a JSON metafield but to make it user friendly for the client, I create a single page JSON builder where the merchant could use a form to generate the JSON object.