Broken image for color image swatch type - issue fixed #3491

This commit is contained in:
vishal-webkul 2020-07-17 10:03:21 +05:30
parent 0f998d9e57
commit 3992d19966
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class AttributeOption extends TranslatableModel implements AttributeOptionContra
public function swatch_value_url()
{
if ($this->swatch_value && $this->attribute->swatch_type == 'image') {
return Storage::url($this->swatch_value);
return url('cache/small/'.$this->swatch_value);
}
return;