DaffProductMagentoDriverConfig

An interface for providing @daffodil/product/driver/magento with necessary config values.

Properties

Name Type Description
baseMediaUrl string The fully-qualified base URL for media assets, such as product images. e.g. https://api.daff.io/media/
truncateUrl boolean Whether or not to attempt to truncate the product URL during the DaffMagentoProductService call. True by default.
urlTruncationStrategy (string) => string An optional custom function to truncate the URL. Defaults to truncate leading path segments, file extension, query params, and fragments.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.