Skip to content

Commit a0ee930

Browse files
Merge pull request #2957 from Shopify/add-customer-account-order-status-announcement-render-target
add customer account order status announcement render target
2 parents d1ae326 + 250ee2c commit a0ee930

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.changeset/curly-cherries-beg.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/ui-extensions': patch
3+
---
4+
5+
add customer account order status announcement render target

packages/ui-extensions/src/surfaces/customer-account/targets.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ export interface OrderStatusExtensionTargets {
9090
StandardApi<'customer-account.order-status.cart-line-list.render-after'>,
9191
AnyComponent
9292
>;
93+
/**
94+
* A static extension target that renders an extension in a prominent and noticeable area of the **Order status** page.
95+
*/
96+
'customer-account.order-status.announcement.render': RenderExtension<
97+
OrderStatusApi<'customer-account.order-status.announcement.render'> &
98+
StandardApi<'customer-account.order-status.announcement.render'>,
99+
AnyComponent
100+
>;
93101
'customer-account.order.page.render': RenderExtension<
94102
OrderStatusApi<'customer-account.order.page.render'> &
95103
Omit<StandardApi<'customer-account.order.page.render'>, 'navigation'> &

0 commit comments

Comments
 (0)