Fejlesztőknek
Kezdj bele
Témák/Theme SDK/Modules/product/Defaults: NotifyMe

Defaults: NotifyMe

Ez az oldal még csak angolul érhető el.

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

Ezen az oldalon
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

Utoljára frissítve