Fix seller shop title product resource
This commit is contained in:
parent
39ecaab3f2
commit
f8acfd083a
|
|
@ -51,7 +51,7 @@ class Product extends JsonResource
|
||||||
'in_stock' => $product->haveSufficientQuantity(1),
|
'in_stock' => $product->haveSufficientQuantity(1),
|
||||||
'is_wishlisted' => $this->isWishlisted($product) ,
|
'is_wishlisted' => $this->isWishlisted($product) ,
|
||||||
'is_item_in_cart' => \Cart::hasProduct($product),
|
'is_item_in_cart' => \Cart::hasProduct($product),
|
||||||
'shop_title' => $this->shop_title,
|
'shop_title' => $product->shop_title,
|
||||||
//'logo' => $this->logo ? Storage::url($this->logo) : null,
|
//'logo' => $this->logo ? Storage::url($this->logo) : null,
|
||||||
'new' => $this->new,
|
'new' => $this->new,
|
||||||
'featured' => $this->featured,
|
'featured' => $this->featured,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue