Skip to content

Commit 628abd1

Browse files
committed
Minor amend to CommerceTools test site view.
1 parent ccad3e4 commit 628abd1

File tree

1 file changed

+7
-7
lines changed
  • src/Umbraco.Cms.Integrations.Commerce.CommerceTools.Testsite.V8/Views

1 file changed

+7
-7
lines changed

src/Umbraco.Cms.Integrations.Commerce.CommerceTools.Testsite.V8/Views/home.cshtml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
@inherits Umbraco.Web.Mvc.UmbracoViewPage<ContentModels.Home>
22
@using ContentModels = Umbraco.Web.PublishedModels;
33
@{
4-
Layout = "master.cshtml";
4+
Layout = null;
55
var backgroundImage = Model.HeroBackgroundImage != null ? Model.HeroBackgroundImage.Url : String.Empty;
66
}
77

88
<section class="section section--full-height">
9-
<h3>@Model.SingleProduct.Name</h3>
10-
@foreach(var image in Model.SingleProduct.Images)
11-
{
12-
<img src="@image.Url" width="100"/>
13-
}
9+
<h3>Product Detail: @Model.SingleProduct.Name</h3>
1410
@foreach(var variant in Model.SingleProduct.Variants.Where(x => x.InStock))
1511
{
16-
<div>@variant.Key</div>
12+
<div>@variant.SKU</div>
13+
foreach(var image in variant.Images)
14+
{
15+
<img src="@image.Url" width="100"/>
16+
}
1717
<ul>
1818
@foreach(var price in variant.Prices)
1919
{

0 commit comments

Comments
 (0)