An interface for providing @daffodil/product/driver/magento with necessary config values.
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. |