Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / basketLineKey

Function: basketLineKey()

basketLineKey(productId, variantId): string

Product + variant is the identity of a basket line. A null variant is a real identity, not the same thing as any selected variant.

Parameters

productId

string

variantId

string

Returns

string