Update BuyableProduct.php

This commit is contained in:
Patrick
2021-01-18 21:52:33 +01:00
committed by GitHub
parent 4a60b7cda1
commit a3bfd21324

View File

@@ -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.
*