Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for conditional print extensions #2564

Open
wants to merge 3 commits into
base: unstable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ninety-tomatoes-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': patch
---

Add docs for conditional print extensions
Original file line number Diff line number Diff line change
Expand Up @@ -249,25 +249,25 @@ You register targets in your \`shopify.extension.toml\` and inside the Javascrip
{
title: 'Order details',
description:
'This page shows information about a single order. The `admin.order-details.print-action.render` target is available on this page.',
'This page shows information about a single order. The `admin.order-details.print-action.render` target is available on this page. You can control the visibility of the print action by using the `admin.order-details.print-action.should-render` target',
image: 'admin.order-details.print-action.render.png',
},
{
title: 'Product details',
description:
'This page shows information about a single product. The `admin.product-details.print-action.render` target is available on this page.',
'This page shows information about a single product. The `admin.product-details.print-action.render` target is available on this page. You can control the visibility of the print action by using the `admin.product-details.print-action.should-render` target',
image: 'admin.product-details.print-action.render.png',
},
{
title: 'Order index selection',
description:
'This page shows a table of multiple orders. The `admin.order-index.selection-print-action.render` target is available on this page when multiple orders are selected.',
'This page shows a table of multiple orders. The `admin.order-index.selection-print-action.render` target is available on this page when multiple orders are selected. You can control the visibility of the print action by using the `admin.order-index.selection-print-action.should-render` target',
image: 'admin.order-index.selection-print-action.render.png',
},
{
title: 'Product index selection',
description:
'This page shows a table of multiple products. The `admin.product-index.selection-print-action.render` target is available on this page when multiple products are selected.',
'This page shows a table of multiple products. The `admin.product-index.selection-print-action.render` target is available on this page when multiple products are selected. You can control the visibility of the print action by using the `admin.product-index.selection-print-action.should-render` target',
image: 'admin.product-index.selection-print-action.render.png',
},
],
Expand Down
Loading