Add POS background extension template#417
Open
vctrchu wants to merge 2 commits into
Open
Conversation
added 2 commits
June 30, 2026 18:12
Assisted-By: devx/ad8a9826-c8c5-4579-8ce6-44cd1b431ab4
Assisted-By: devx/ad8a9826-c8c5-4579-8ce6-44cd1b431ab4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Adds a scaffold for POS background extensions targeting
pos.app.ready.data, the persistent background target shipping in the 2026-07 API. Resolves shop/issues-retail#29623.Supersedes the earlier closed attempt (#408), which built the scaffold by overwriting the
web-pixel-extensiontemplate. This lands it as its own template instead, leavingweb-pixel-extensionuntouched.Solution
pos-background/template dir, mirroring the existingpos-action/pos-block/pos-smart-gridstructure.pos_backgroundintemplates.json(ui_extension, TypeScript + JavaScript flavors).pos.app.ready.datawithapi_version = "2026-07"and exampleshopify.addEventListenerhandlers fortransactioncomplete,cashtrackingsessionstart, andcashtrackingsessioncomplete.@shopify/ui-extensions2026.7.x, matching sibling templates.Checklist