'datum' =>
$createDate,
'update' =>
$updateDate,
'sales' =>
$product->
getSales(),
'filtergroupID' => null,
'priceStartingFrom' => null,
'pseudopricePercent' => null,
// Flag inside mini product
'sVariantArticle' => null,
'sConfigurator' =>
$product->
hasConfigurator(),
// Only used for full products
'metaTitle' =>
$product->
getMetaTitle(),
'shippingfree' =>
$product->
isShippingFree(),
'suppliernumber' =>
$product->
getManufacturerNumber(),
'notification' =>
$product->
allowsNotification(),
'ean' =>
trim((string) $product->
getEan()),
'keywords' =>
$product->
getKeywords(),
'template' =>
$product->
getTemplate(),
'attributes' =>
$product->
getAttributes(),
'allowBuyInListing' =>
$product->
allowBuyInListing(),
];
if ($product->
hasAttribute('core'
)) { $attributes =
$product->
getAttribute('core'
)->
toArray();