mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-22 23:25:23 +00:00
Update BuyableProductTrait.php
This commit is contained in:
@@ -24,9 +24,10 @@ class BuyableProductTrait extends Model implements Buyable
|
|||||||
];
|
];
|
||||||
|
|
||||||
protected $attributes = [
|
protected $attributes = [
|
||||||
'id' => 1,
|
'id' => 1,
|
||||||
'name' => 'Item name',
|
'name' => 'Item name',
|
||||||
'price' => 10.00,
|
'price' => 10.00,
|
||||||
'weight' => 0,
|
'currency' => 'USD',
|
||||||
|
'weight' => 0,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user