Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / thankYouHref

Function: thankYouHref()

thankYouHref(order, language?): string

The thank-you page for a placed order: /thank-you?order=…&total=…&oid=…, in the request's language when language is given (/fr/thank-you?…).

Parameters

order

orderId?

string

orderNumber

string

total

number

language?

locale

string

routing

LocaleRouting

Returns

string