MagentoProduct
An object for defining what the product service requests and retrieves from a magento backend.
import { MagentoProduct } from '@daffodil/product/driver/magento'
interface MagentoProduct {
meta_title: string
meta_description: string
canonical_url: string
media_gallery_entries: {
label: string;
file: string;
position: number;
disabled: boolean;
uid: string;
}[]
short_description: {
html: string;
}
description: {
html: string;
}
}
Properties
Name | Type | Description |
---|---|---|
meta_title | string | |
meta_description | string | |
canonical_url | string | |
media_gallery_entries | { label: string; file: string; position: number; disabled: boolean; uid: string; }[] | |
short_description | { html: string; } | |
description | { html: string; } |