mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update CartModel.php
This commit is contained in:
@@ -26,6 +26,13 @@ class CartModel extends Model
|
||||
'instance',
|
||||
'tax_rate'
|
||||
];
|
||||
|
||||
/**
|
||||
* The relationships that should always be loaded.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $with = ['items'];
|
||||
|
||||
/**
|
||||
* Get the CartItems for the cart.
|
||||
|
||||
Reference in New Issue
Block a user