Options
All
  • Public
  • Public/Protected
  • All
Menu

shopperman api docs

Index

Type aliases

PerformCheckout

PerformCheckout: function

Perform checkout function signature

  • function to call when the checkout is triggered

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

ProductEvaluator

ProductEvaluator: function

Function to evaluate non-shopify product details

Type declaration

ShopifyClient

ShopifyClient: any

Shopify api client

Variables

Const scrollEvents

scrollEvents: string[] = ["scroll", "resize"]

Functions

convertNewlinesToReactBreaks

  • convertNewlinesToReactBreaks(text: string): Element[]

ecommerceShopifyStore

getScrollTop

  • getScrollTop(doc?: Document): number

isDescendant

  • isDescendant(child: Element, parent: Element): boolean

Const makeDefaultCartText

Const makeDefaultScrollTracker

setScrollTop

  • setScrollTop(value: number, doc?: Document): void

Object literals

Const defaultCartOptions

defaultCartOptions: object

Default cart options

omniStorage

omniStorage: any = new LocalClient({storage: window.localStorage})

storageKey

storageKey: string = "shopperman"

Generated using TypeDoc