GitHub

shopifyUrlTransformer

Helper

import { shopifyUrlTransformer } from '@daffodil/driver/shopify'

Transforms a DaffLocatable url into a Shopify handle string

See DaffLocatable for more information on the requirements for the url argument.

function shopifyUrlTransformer(url: string): string

Parameters

Parameterurl: string
Description

DaffLocatable url (e.g. /coffee-pot.html)