From bb7c6a6415f466c1a7f5e02fab2c1d17ef1805f6 Mon Sep 17 00:00:00 2001 From: 65160270 <65160270@go.buu.ac.th> Date: Fri, 28 Mar 2025 23:37:08 +0700 Subject: [PATCH] update-cart --- views/product.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/product.ejs b/views/product.ejs index 01f834c..f8b4030 100644 --- a/views/product.ejs +++ b/views/product.ejs @@ -10,6 +10,7 @@ <table border="1"> <tr> <th>Image</th> + <th>Product ID</th> <th>Product Name</th> <th>Price</th> <th>Stock</th> @@ -18,6 +19,7 @@ <% products.forEach(product => { %> <tr> <td><img src="<%= product.image %>" width="100"></td> + <td><%= product.id %></td> <td><%= product.name %></td> <td><%= product.price %> THB</td> <td><%= product.stock %></td> -- GitLab