As an example, assume that a shopper has qualified for two Gift with Purchase promotions:

The cart already includes 1 Novelty Pen, which is auto targeted to be free. The Gold Bracelet it automatically added to the cart. The shopper has already selected one of the GWP content items, a Gift Certificate. The shopper must still select one Novelty category item and 2 GWP content group items.

With no commerce item input, the GiftWithPurchaseSelectionsDroplet outputs a collection with two GiftWithPurchaseSelection beans:

giftType = 'category', giftDetail = 'Novelty', quantity = 3,
automaticQuantity = 1, selectedQuantity = 0, targetedQuantity = 1,
quantityAvailableForSelection = 1
giftType = 'contentGroup', giftDetail = 'GWP', automaticQuantity = 0,
selectedQuantity = 1, targetedQuantity = 0, quantityAvailableForSelection
= 2

With the Gift Certificate commerce item as input, the GiftWithPurchaseSelectionsDroplet outputs a collection with one GiftWithPurchaseSelection bean:

giftType = 'contentGroup', giftDetail = 'GWP', quantity = 0,
automaticQuantity = 0, selectedQuantity = 1, targetedQuantity = 0,
quantityAvailableForSelection = 0