Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / couponFromUrl

Function: couponFromUrl()

couponFromUrl(url): string

The code a URL brings, trimmed; null when it brings none.

Parameters

url

URL

Returns

string