feat: implement multi-tenant cart functionality and add image validation helper
This commit is contained in:
@@ -48,6 +48,7 @@ class CartItemResource extends JsonResource
|
||||
'cantidad' => $this->cantidad,
|
||||
'precio_unitario' => $this->formatMoney($product?->precio),
|
||||
'product_id' => $product?->id,
|
||||
'product_variant_id' => $this->producto_variante_id,
|
||||
'product' => $product === null ? null : [
|
||||
'nombre' => $productName,
|
||||
'imagen' => $imageUrl,
|
||||
|
||||
Reference in New Issue
Block a user