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