Skip to main content

pos.cart.line-item-details.action.render

Renders a full-screen modal interface launched from cart line item menu items. Use this target for complex line item workflows that require forms, multi-step processes, or detailed information displays beyond what a simple button can provide.

Extensions at this target have access to detailed line item data through the Cart Line Item API and support workflows with multiple screens, navigation, and interactive components.

Examples

jsx

import {render} from 'preact';

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

const Extension = () => {
return (
<s-page heading='Cart Line Item Details'>
<s-scroll-box>
<s-text>Cart Line item action extension</s-text>
</s-scroll-box>
</s-page>
);
};
Was this page helpful?