import { getShopifyRoutePath } from '@daffodil/driver/shopify'
Generates a route path based on the Shopify resource type and handle.
function getShopifyRoutePath(
type: string
handle: string
): string
| Parameter | type: string |
|---|---|
| Description | The Shopify resource type (COLLECTION, PRODUCT, PAGE, etc.) |
| Parameter | handle: string |
|---|---|
| Description | The resource handle/slug |