Jump to content

Admin Inline Edit


Claudia M

Recommended Posts

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

  • Replies 51
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.




×
×
  • Create New...