Skip to content

Commit f575d89

Browse files
Update 13/umbraco-commerce/how-to-guides/add-item
Co-authored-by: Dinh Tran <[email protected]>
1 parent dbe586a commit f575d89

File tree

1 file changed

+1
-1
lines changed
  • 13/umbraco-commerce/how-to-guides

1 file changed

+1
-1
lines changed

13/umbraco-commerce/how-to-guides/add-item

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To display this we need to add some markup or at least amend it to include a but
3131
@using (Html.BeginUmbracoForm("AddToCart", "CartSurface"))
3232
{
3333
@Html.Hidden("productReference", Model.Key.ToString())
34-
<h1>@Model.ProductTitle</h1>
34+
<h1>@Model.Value<string>("productTitle")</h1>
3535
<h2>@Model.ProductDescription</h2>
3636

3737
<p>Our price excluding VAT <strong>@price.Result?.WithoutTax.ToString("C0") </strong></p>

0 commit comments

Comments
 (0)