Update BuyableProductTrait.php

This commit is contained in:
Patrick
2021-01-18 22:22:13 +01:00
committed by GitHub
parent aae1b7b9b4
commit 4ab1d4879a

View File

@@ -10,9 +10,9 @@ class BuyableProductTrait extends Model implements Buyable
use \Gloudemans\Shoppingcart\CanBeBought;
protected $attributes = [
'id' => 1,
'name' => 'Item name',
'price' => 10.00,
'id' => 1,
'name' => 'Item name',
'price' => 10.00,
'weight' => 0,
];
}