Skip to main content

pos.purchase.post.action.menu-item.render
Target

A static extension target that renders as a menu item on the post-purchase screen

Was this section helpful?

Menu item

jsx

import {render} from 'preact';

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

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