VirtueMart Forum
VirtueMart 1.1.x [ Old version - no longer supported ] => Administration & Configuration VM 1.1 => Topic started by: kentcheung2000 on March 30, 2011, 09:00:07 am
-
Hi,
I just add a new field in product.product.form and the information is added to other table in the database. When I cancel the form and re-enter the form, the data I just entered in this field is not there but it is in the mysql database.
Can someone tell me how I can have the data back to the update item form when I click an item. Which file I should work on and which part. Please help. Thanks.
K.C.
-
I found out the following code in product.product.list.php which direct to the product.product.form with all the information except the new field in another table.
Can someone let me know where I can find the file wich is responsible to populate the fields the following link so I can add a new field from another table in mysql?
Many thanks.
K.C.
$link = $_SERVER['PHP_SELF'] . "?page=$modulename.product_form&limitstart=$limitstart&keyword=".urlencode($keyword) .
"&product_id=" . $db->f("product_id")."&product_parent_id=".$product_parent_id;