From b7522f382ed857aa09cbf3fa0b5e45b8190f2093 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 9 Feb 2022 00:33:23 +0100 Subject: [PATCH] Update CartModel.php --- src/Models/CartModel.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Models/CartModel.php b/src/Models/CartModel.php index 010eb75..4ea61ea 100644 --- a/src/Models/CartModel.php +++ b/src/Models/CartModel.php @@ -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.