Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / STOREFRONT_PAGE_PATHS

Variable: STOREFRONT_PAGE_PATHS

const STOREFRONT_PAGE_PATHS: object

Each page type's public path; :handle / :slug mark its one parameter.

Type Declaration

catalog

readonly catalog: "/products"

category

readonly category: "/category/:slug"

checkout

readonly checkout: "/checkout"

collection

readonly collection: "/collections/:handle"

contact

readonly contact: "/contact"

How to reach the store: its WhatsApp, phone, email and address.

home

readonly home: "/"

landing

readonly landing: "/lp/:slug"

page

readonly page: "/pages/:slug"

product

readonly product: "/products/:handle"

readonly search: "/search"

The store's products matching a query; ?q=<words> is the query.

thankYou

readonly thankYou: "/thank-you"

trackOrder

readonly trackOrder: "/track-order"

Where a shopper follows an order by its number and phone; ?order=<number> fills the number in.