Skip to content

Commit dbe586a

Browse files
Update 13/umbraco-commerce/how-to-guides/add-item
Co-authored-by: Dinh Tran <[email protected]>
1 parent 2ca5381 commit dbe586a

File tree

1 file changed

+1
-0
lines changed
  • 13/umbraco-commerce/how-to-guides

1 file changed

+1
-0
lines changed

13/umbraco-commerce/how-to-guides/add-item

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Create a new Document Type with template, we will call it Product Page with thes
1212
The Product Page template can be implemented like the below code.
1313

1414
```csharp
15+
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<ProductPage>
1516
@{
1617
var store = Model.Value<StoreReadOnly>("store", fallback: Fallback.ToAncestors);
1718
var product = CommerceApi.Instance.GetProduct(store.Id, Model.Key.ToString(), "en-GB");

0 commit comments

Comments
 (0)