Skip to content

Commit 3bdfdfe

Browse files
authored
Shortened another sentence
1 parent 8450bd3 commit 3bdfdfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

13/umbraco-commerce/how-to-guides/update-cart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ You need to add the `Action` to update the items in the cart. This will be calle
212212
- `TempData` stores a message to be displayed to the user if the product has been successfully updated.
213213

214214
{% hint style="warning" %}
215-
Umbraco Commerce uses the Unit of Work pattern to complete saving the item (`uow.Complete`). When retrieving or saving data ideally you would want the entire transaction to be committed however if there is an error then nothing is changed on the database.
215+
Umbraco Commerce uses the Unit of Work pattern to complete saving the item (`uow.Complete`). When retrieving or saving data you want the entire transaction to be committed. However, if there is an error nothing is changed on the database.
216216
{% endhint %}
217217

218218
If you have followed the [Add item to cart](add-item.md) article then run the application, add an item to your cart, and navigate to your `cart.cshtml` page. Enter a new quantity, click the Update Cart button, and the item(s) in your cart will tell you the values have been updated.

0 commit comments

Comments
 (0)