diff --git a/packages/Sarga/API/Http/Resources/Checkout/CartItemProduct.php b/packages/Sarga/API/Http/Resources/Checkout/CartItemProduct.php index 09a2c9c3e..9a8b60b82 100644 --- a/packages/Sarga/API/Http/Resources/Checkout/CartItemProduct.php +++ b/packages/Sarga/API/Http/Resources/Checkout/CartItemProduct.php @@ -20,7 +20,7 @@ class CartItemProduct extends JsonResource return [ 'id' => $this->id, 'name' => $this->name, - 'images' => ProductImage::collection($this->parent?$this->parent->imaeges:$this->images), + 'images' => ProductImage::collection($this->parent?$this->parent->images:$this->images), /* super attributes */ $this->mergeWhen(!empty($this->parent && $this->parent->super_attributes), [ 'super_attributes' => $this->super_attributes($this->parent->super_attributes), @@ -30,7 +30,7 @@ class CartItemProduct extends JsonResource return [ 'id' => $this->id, 'name' => $this->name, - 'images' => ProductImage::collection($this->parent?$this->parent->imaeges:$this->images), + 'images' => ProductImage::collection($this->parent?$this->parent->images:$this->images), ]; }