diff --git a/packages/Webkul/Product/src/Models/ProductFlat.php b/packages/Webkul/Product/src/Models/ProductFlat.php index cda302a4a..cd75bb135 100644 --- a/packages/Webkul/Product/src/Models/ProductFlat.php +++ b/packages/Webkul/Product/src/Models/ProductFlat.php @@ -78,7 +78,7 @@ class ProductFlat extends Model implements ProductFlatContract if ($attribute && ($attribute->value_per_channel || $attribute->value_per_locale)) { $defaultProduct = $this->getDefaultProduct(); - $this->attributes[$key] = $defaultProduct->$key; + $this->attributes[$key] = $defaultProduct->attributes[$key]; return $this->getAttributeValue($key); }