Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Użyj identyfikatora grupy
Domyślnie dodawanie wielu kart do jednej karty
Link Dodaj do Portfela Google nie grupuje tych kart w
w aplikacji Portfel Google użytkownika. Karty można jednak grupować, tworząc
upewnij się, że wszystkie mają ten sam identyfikator grupy. Zgrupowane karty będą się wyświetlać razem
w aplikacji Portfel Google. Po wybraniu grupy kart każda z nich zostanie
będą wyświetlane w karuzeli.
Aby dodać kartę do grupy, właściwość groupingInfo.groupingId
musisz ustawić obiekt karty. Wszystkie obiekty przekazujące z takim samym
Wartość groupingId będzie automatycznie zgrupowana, nawet jeśli
zostały dodane oddzielnie.
Przykład poniżej pokazuje kartę lojalnościową i ofertę pogrupowane według grup
zachęcić użytkowników do skorzystania z obu tych narzędzi przy następnym zakupie.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-22 UTC."],[[["Adding multiple passes to Google Wallet with the same `groupingId` will group them together, enhancing user experience."],["Grouped passes are displayed as a carousel when selected in the Google Wallet app."],["Passes can be grouped during initial creation or later using the `update` or `patch` methods."],["The `groupingInfo.groupingId` property is essential for assigning passes to a specific group."],["Grouping passes, such as loyalty cards and offers, can incentivize users to utilize them together."]]],["Passes in Google Wallet can be grouped by assigning them a shared `groupingId`. This ensures they appear together as a carousel in the user's wallet. Grouping can occur during initial setup or later via `update` or `patch` methods. Setting the `groupingInfo.groupingId` property on each pass object is required. Passes with the same `groupingId` are grouped, even if added separately. The example demonstrates grouping a loyalty card and offer with the same `groupingId`, \"combinedGiftCardAndOfferId\".\n"]]