Wocart

@wocart/storefront v3.1.0


@wocart/storefront / server / previewConfig

Function: previewConfig()

previewConfig(config, draft): StoreConfig

The store config as the preview renders it: the draft's settings and text edits over the saved ones, and no tracking — a preview is not a visit.

Parameters

config

StoreConfig

draft

PreviewDraft

Returns

StoreConfig