Basket Link View Component

A prebuilt basket link which incudes the Basket Count is included.

The link is unstyled and either requires styling within the partial cshtml file or using CSS.

The cshtml partial can be found at the following path:

Views -> Partials -> UmbCheckout -> _BasketLink.cshtml

To be able to use the Basket Link View Component you will need to add the following to your _ViewImports.cshtml file

@addTagHelper *, UmbCheckout.Core

This will allow you to use the following tag helper:


Alternatively, you can load the View Component without using the tag helper:

@await Component.InvokeAsync(typeof(BasketLinkViewComponent))

Configurable Properties

You can set the following properties

PropertyProperty AliasUse



The Content Type alias of the Basket page



The text shown on the link



The CSS class to be added to the <a> tag

Last updated