Skip to main content

pos.order-details.action.menu-item.render
Target

A static extension target that renders as a menu item on the order details screen

Was this section helpful?

Order details action menu item

jsx

import {render} from 'preact';

export default async () => {
render(<Extension />, document.body);
};

const Extension = () => {
return (
<s-button
onClick={() => shopify.action.presentModal()}
/>
);
};