Wocart

@wocart/storefront v3.1.0


@wocart/storefront / server / catalogPaths

Function: catalogPaths()

catalogPaths(client, config): Promise<string[]>

Every page of the store a sitemap lists, unprefixed: home, the catalog, each category, each product (the whole catalog, read page by page) and each published text page.

Parameters

client

cart

CartNamespace

categories

CategoriesNamespace

collections

CollectionsNamespace

config

ConfigNamespace

geo

GeoNamespace

MenusNamespace

orders

OrdersNamespace

pageData

PageDataNamespace

pages

PagesNamespace

products

ProductsNamespace

shipping

ShippingNamespace

config

Pick<StoreConfig, "pages">

Returns

Promise<string[]>