bsmither Posted May 28, 2020 Share Posted May 28, 2020 The code looks proper -- be sure to use item_location in the name attribute, to match what we are expecting in POST. (I say this to note that product_price is not the same as the name of the database table column, price. It just illustrates that the name attribute need not be the same as the database table column, you just need to pay attention and look for what POST is sending, and what table column you are updating.) <td><span class="editable number" name="product[{$product.product_id}][item_location]">{$product.item_location}</span></td> It is safe to delete your private columns, but completely unnecessary. You do not need to empty the columns of values first. Link to comment Share on other sites More sharing options...
Claudia M Posted May 28, 2020 Author Share Posted May 28, 2020 I added the item_location code and all is working! Thank you! I'll leave the columns alone Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.