ShopPayButton

The ShopPayButton component renders a button that redirects to the Shop Pay checkout.

Example code

Props

Name Type Description
variantIds string[] An array of IDs of the variants to purchase with Shop Pay.
className? string A string of classes to apply to the div that wraps the Shop Pay button.

Component type

The ShopPayButton component is a client component, which means that it renders on the client. For more information about component types, refer to React Server Components.

Used by