mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update BuyableProduct.php
This commit is contained in:
@@ -7,6 +7,13 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class BuyableProduct extends Model implements Buyable
|
||||
{
|
||||
protected $attributes = [
|
||||
'id' => 1,
|
||||
'name' => 'Item name',
|
||||
'price' => 10.00,
|
||||
'weight' => 0,
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the identifier of the Buyable item.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user