File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/Umbraco.Cms.Integrations.Commerce.CommerceTools.Testsite.V8/Views Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
@inherits Umbraco .Web .Mvc .UmbracoViewPage <ContentModels .Home >
2
2
@using ContentModels = Umbraco .Web .PublishedModels ;
3
3
@{
4
- Layout = " master.cshtml " ;
4
+ Layout = null ;
5
5
var backgroundImage = Model .HeroBackgroundImage != null ? Model .HeroBackgroundImage .Url : String .Empty ;
6
6
}
7
7
8
8
<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 >
14
10
@foreach( var variant in Model .SingleProduct .Variants .Where (x => x .InStock ))
15
11
{
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
+ }
17
17
<ul >
18
18
@foreach( var price in variant .Prices )
19
19
{
You can’t perform that action at this time.
0 commit comments