Skip to content

Commit 43c323a

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

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ To add an item to the cart, you first need to setup Umbraco with a store and add
77
## Add a product to the Cart
88
You will need the Frontend to be setup to add allow an item to be added to the cart. This can be done by adding a button to the frontend that will call the Action to add the item to the cart.
99

10-
Create a new View, we will call it product.cshtml with the below code
10+
Create a new Document Type with template, we will call it Product Page with these properties aliases: `productTitle`, `productDescription`, `price`, `stock`.
11+
12+
The Product Page template can be implemented like the below code.
1113

1214
```csharp
1315
@{

0 commit comments

Comments
 (0)