Class

Ecommerce

Ecommerce(storeOptions)

Ecommerce SDK entry point.

Constructor

# new Ecommerce(storeOptions)

Parameters:
Name Type Description
storeOptions StoreOptions

An instance of StoreOptions used to configure Ecommerce SDK.

storeId number

ID of store to operate with.

storeLocationPath string

Relative URL path to store page. Optional, default value '/store'.

View Source ecommerce.ts, line 7

Ecommerce(storeOptions)

Constructor

# new Ecommerce(storeOptions)

Parameters:
Name Type Description
storeOptions StoreOptions

An instance of StoreOptions used to configure Ecommerce SDK.

storeId number

ID of store to operate with.

storeLocationPath string

Relative URL path to store page. Optional, default value '/store'.

View Source ecommerce.ts, line 36