atrr option cat

This commit is contained in:
merdan 2022-05-17 14:59:44 +05:00
parent b20e980eb7
commit 8e69d62730
1 changed files with 3 additions and 2 deletions

View File

@ -18,8 +18,9 @@ class AttributeOption extends JsonResource
'id' => $this->id,
'admin_name' => $this->admin_name,
'label' => $this->label,
// 'swatch_value' => $this->swatch_value,
'image' => $this->swatch_value_url
'swatch_value' => $this->swatch_value,
'image' => $this->swatch_value_url,
'attribute_id' => $this->attribute_id
];
}
}