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 11@inherits Umbraco .Web .Mvc .UmbracoViewPage <List <Umbraco .Cms .Integrations .Commerce .Shopify .Models .ViewModels .ProductViewModel >>
22
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+ }
1114
1215
Original file line number Diff line number Diff line change 11@inherits Umbraco .Cms .Web .Common .Views .UmbracoViewPage <List <Umbraco .Cms .Integrations .Commerce .Shopify .Models .ViewModels .ProductViewModel >>
22
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+ }
1114
1215
1316
Original file line number Diff line number Diff line change 1010 <PackageIconUrl ></PackageIconUrl >
1111 <PackageProjectUrl >https://github.com/umbraco/Umbraco.Cms.Integrations/blob/main/src/Umbraco.Cms.Integrations.Commerce.Shopify</PackageProjectUrl >
1212 <RepositoryUrl >https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl >
13- <Version >1.1.2 </Version >
13+ <Version >1.1.3 </Version >
1414 <Authors >Umbraco HQ</Authors >
1515 <Company >Umbraco</Company >
1616 <PackageTags >Umbraco;Umbraco-Marketplace</PackageTags >
You can’t perform that action at this time.
0 commit comments