DaffProduct

An interface for a product usable by the @daffodil/product library.

Properties

Name Type Description
type DaffProductTypeEnum The type of product.
name string The product name.
thumbnail DaffProductImage An image to concisely visualize the product.
images DaffProductImage[] An array of images for the product.
price number The price of the product.
discount DaffProductDiscount The total discounts associated with this product.
in_stock boolean Whether or not the product is in stock.
brand string The product brand.
description string Describes the product.
short_description string A shorter description of the product.
meta_title string A title for the product to display in the browser tab title.
meta_description string A description of the product for usage in search engine results.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.