@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
menus
MenusNamespace
orders
OrdersNamespace
pageData
PageDataNamespace
pages
PagesNamespace
products
ProductsNamespace
shipping
ShippingNamespace
config
Pick<StoreConfig, "pages">
Returns
Promise<string[]>