File tree Expand file tree Collapse file tree 3 files changed +23
-17
lines changed
src/Umbraco.Cms.Integrations.Commerce.Shopify
App_Plugins/UmbracoCms.Integrations/Commerce/Shopify/Render Expand file tree Collapse file tree 3 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 1
1
@inherits Umbraco .Web .Mvc .UmbracoViewPage <List <Umbraco .Cms .Integrations .Commerce .Shopify .Models .ViewModels .ProductViewModel >>
2
2
3
- <dl class =" products-list" >
4
- @foreach ( var product in Model )
5
- {
6
- <dt class =" product-title" >@product.Title </dt >
7
- <dd class =" product-body" >@Html.Raw(product.Body) </dd >
8
- <img class =" product-image" src =" @product.Image" alt =" @product.Title" />
9
- }
10
- </dl >
3
+ @if (Model != null )
4
+ {
5
+ <dl class =" products-list" >
6
+ @foreach ( var product in Model )
7
+ {
8
+ <dt class =" product-title" >@product.Title </dt >
9
+ <dd class =" product-body" >@Html.Raw(product.Body) </dd >
10
+ <img class =" product-image" src =" @product.Image" alt =" @product.Title" />
11
+ }
12
+ </dl >
13
+ }
11
14
12
15
Original file line number Diff line number Diff line change 1
1
@inherits Umbraco .Cms .Web .Common .Views .UmbracoViewPage <List <Umbraco .Cms .Integrations .Commerce .Shopify .Models .ViewModels .ProductViewModel >>
2
2
3
- <dl class =" products-list" >
4
- @foreach ( var product in Model )
5
- {
6
- <dt class =" product-title" >@product.Title </dt >
7
- <dd class =" product-body" >@Html.Raw(product.Body) </dd >
8
- <img class =" product-image" src =" @product.Image" alt =" @product.Title" />
9
- }
10
- </dl >
3
+ @if (Model != null )
4
+ {
5
+ <dl class =" products-list" >
6
+ @foreach ( var product in Model )
7
+ {
8
+ <dt class =" product-title" >@product.Title </dt >
9
+ <dd class =" product-body" >@Html.Raw(product.Body) </dd >
10
+ <img class =" product-image" src =" @product.Image" alt =" @product.Title" />
11
+ }
12
+ </dl >
13
+ }
11
14
12
15
13
16
Original file line number Diff line number Diff line change 10
10
<PackageIconUrl ></PackageIconUrl >
11
11
<PackageProjectUrl >https://github.com/umbraco/Umbraco.Cms.Integrations/blob/main/src/Umbraco.Cms.Integrations.Commerce.Shopify</PackageProjectUrl >
12
12
<RepositoryUrl >https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl >
13
- <Version >1.1.2 </Version >
13
+ <Version >1.1.3 </Version >
14
14
<Authors >Umbraco HQ</Authors >
15
15
<Company >Umbraco</Company >
16
16
<PackageTags >Umbraco;Umbraco-Marketplace</PackageTags >
You can’t perform that action at this time.
0 commit comments