We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7a256 commit 2ca5381Copy full SHA for 2ca5381
13/umbraco-commerce/how-to-guides/add-item
@@ -35,7 +35,7 @@ To display this we need to add some markup or at least amend it to include a but
35
36
<p>Our price excluding VAT <strong>@price.Result?.WithoutTax.ToString("C0") </strong></p>
37
38
- if (@Model.Stock == 0)
+ if (@Model.Value<int>("stock") == 0)
39
{
40
<p>Sorry, out of stock</p>
41
}
0 commit comments