shopify-line-item-helper is a Shopify app that provides a admin block extension for working with line item properties within Shopify. If a merchant has the need to easily copy paste line item properties to other platforms or internal use, they can use this extension to do so.
- The admin block queries the current viewed order
- Admin block renders in the 'admin.order-details.block.render' target.
- For each line item, it gathers the custom properties and outputs them in a copy-paste friendly format.
- A toggle setting can show/hide hidden line item properties (properties starting with _)
- https://shopify.dev/docs/api/admin-extensions/latest/extension-targets.md
- https://shopify.dev/docs/api/admin-extensions/latest/api/target-apis/block-extension-api.md
- Renders inside of an admin block: https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/other/adminblock.md
- Makes use of button group for copy actions: https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/actions/buttongroup.md
- Outputs line items in a
format
- Toggle makes use of the switch component: https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/forms/switch.md
If you will use this app publically, PID data request is needed: https://shopify.dev/docs/apps/launch/protected-customer-data#request-access-to-protected-customer-data If for internal use, configuring the app to be a custom / organization app is required for order data access.
Standard shopify deployment is needed: https://shopify.dev/docs/apps/launch/deployment