Developers
Start building
Themes/Theme SDK/Modules/product/Defaults: NotifyMe

Defaults: NotifyMe

The defaults of @poltura/theme-sdk/product, NotifyMe to NotifyMe.

On this page
import { … } from '@poltura/theme-sdk/product';

NotifyMe

"Notify me" for a variant that cannot be bought now: one email, sent once when it can be.

NotifyMe(props: NotifyMeProps): ReactElement | null

Props: NotifyMeProps

import { NotifyMe } from '@poltura/theme-sdk/product';

export function SoldOut({ variantId }: { variantId: string }) {
  return <NotifyMe variantId={variantId} reason='outOfStock' />;
}

See also: useNotifyMe

Last updated