diff --git a/views/product.ejs b/views/product.ejs index 01f834c0b0f4170901fe6d0f239c88fdfba344da..f8b403079bc50ca6bd726fbd417f8074881bdfd6 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>