7 declare(strict_types=1);
11 use \Magento\Catalog\Model\Product;
33 $attributeList =
$product->getAttributes();
77 if ($attributeType ===
'varchar' || $attributeType ===
'text' || $attributeType ===
'datetime') {
97 $considerUseDefaultsAttribute = !isset($useDefaults[
$attribute]) || $useDefaults[
$attribute] ===
'1';
prepareProductAttributes(Product $product, array $productData, array $useDefaults)