Config

Keys

  • config.storeDomain
  • config.taxType
  • config.trackingInterval
  • config.currencyDefault
  • config.currencyDecimalDefault
  • config.currencyDecimalWidth
  • config.customJsUrl
  • config.clearBeforeChange
  • custom.stashProductIds

Defaults

storeDomain = ''
taxType = 'NET'
trackingInterval = 250
currencyDefault = 'USD'
currencyDecimalDefault = '.'
currencyDecimalWidth = 2
customJsUrl = false
stashProductIds = false
clearBeforeChange = false

Description

storeDomain

taxType

This can be either "NET" (US style) or "GROSS" (GST / VAT)

trackingInterval

currencyDefault

currencyDecimalDefault

currencyDecimalWidth

useCustomJs

Even though this is set here, it must be used externally with "Scraper.setCustomTransform". It simply says if a custom JS should be used. This may be a boolean or string, and depends on the implementation on how it is used.

stashProductIds

Either false or a LOOKUP that gives the key for the product ID to associate to. The data is stored as a key / value store.

clearBeforeChange

Used with waitForChange to clear the collected data before collecting data again. This is useful in JS based sites. Note you may have to implement this in your adaptor as well.

results matching ""

    No results matching ""