Resolves the cart before navigation. Redirects to a given url when a failure occurs during Cart Load.
This url is /
by default but can be overridden with the DaffCartResolverRedirectUrl injection token.
This resolver also redirects to a different url when the cart is empty after successfully loading.
This url is also /
by default, but can be overridden with the DaffEmptyCartResolverRedirectUrl
Name | Type | Description |
---|---|---|
resolve | Observable<DaffCart > |