order to manat
This commit is contained in:
parent
9c1640cdf9
commit
c8f5ad487c
|
|
@ -87,8 +87,10 @@ class ProductFlat extends Model implements ProductFlatContract
|
|||
if ($attribute && ($attribute->value_per_channel || $attribute->value_per_locale)) {
|
||||
$defaultProduct = $this->getDefaultProduct();
|
||||
|
||||
try {
|
||||
$this->attributes[$key] = $defaultProduct->attributes[$key];
|
||||
|
||||
}
|
||||
catch(Exception $ex){}
|
||||
return $this->getAttributeValue($key);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue