Skip to content

Conversation

@Profilist
Copy link

@Profilist Profilist commented Jul 16, 2025

https://github.com/shop/issues-retail/issues/16072

Background

As part of Retail Checkout's Extensible Cash Management on POS project, we introduce the following new extension targets:

  • pos.cash-tracking-session-details.block.render
  • pos.cash-tracking-session-details.action.menu-item.render
  • pos.cash-tracking-session-details.action.render
  • pos.cash-tracking-session-details.block.render-before
  • pos.cash-tracking-session-float.block.render-before
  • pos.purchase.post.block.render-before

This PR adds a new POS UI cash management extension template for all the pos.cash-tracking-session-details.x targets to follow conventions of having only 1 .liquid file for each target type.

Solution

Added a new pos-ui-extension-cash-management template that follows the conventions of other POS UI extention templates:

  • Support for four flavors: JavaScript, JavaScript React, TypeScript, and TypeScript React
  • Implementation of four extension points:
    • Action component for modal presentation
    • Block component for session summary section
    • MenuItem component for displaying the modal
    • Banner component for alerts on top of the session section

The template is registered in templates.json with the identifier pos_ui_cash_management.

Checklist

  • I have 🎩'd these changes
  • I have squashed my commits into chunks of work with meaningful commit messages

Copy link
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Profilist Profilist force-pushed the cash-management-pos-ui-extension-template branch from decfe5e to a6f670c Compare July 28, 2025 15:28
@Profilist Profilist force-pushed the cash-management-pos-ui-extension-template branch from a6f670c to d997ba0 Compare August 20, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant