use Shophook
hook
Returns the Shop
where the checkout is taking place.
Anchor to useShopuse Shop()
use Shop()
Anchor to useShop-returnsReturns
- idstring
The shop ID.
- namestring
The name of the shop.
- myshopifyDomainstring
The shop's myshopify.com domain.
- storefrontUrlstring
The primary storefront URL.
Shop
Shop
Shop
- id
The shop ID.
string
- name
The name of the shop.
string
- storefrontUrl
The primary storefront URL.
string
- myshopifyDomain
The shop's myshopify.com domain.
string
export interface Shop {
/**
* The shop ID.
* @example 'gid://shopify/Shop/123'
*/
id: string;
/**
* The name of the shop.
*/
name: string;
/**
* The primary storefront URL.
*/
storefrontUrl?: string;
/**
* The shop's myshopify.com domain.
*/
myshopifyDomain: string;
}
Was this section helpful?