Update CartModel.php

This commit is contained in:
Patrick
2022-02-09 00:33:23 +01:00
committed by GitHub
parent 0591b5913c
commit b7522f382e

View File

@@ -26,6 +26,13 @@ class CartModel extends Model
'instance', 'instance',
'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.