In the file: admin \ view \ template \ catalog \ product_form.tpl
The product name got put thus:
<? php echo isset ($ product_description [$ language ['language_id']])? $ product_description [$ language ['language_id']] ['name']:; '('. $ model. ')' echo'';>?
The ID tried this:
<? php echo $ product ['product_id'];>
<php echo $ product_id;?>
But it is giving error:
Notice: Undefined variable: product in
I tried selecting the table and display the Product ID, also without success:
Code: Select all
<?
$sql = mysql_query("SELECT * FROM oc_product_to_store WHERE product_id= '$linha[product_id]'");
$linha = mysql_fetch_array($sql);?>
?>
<?echo $linha['product_id'];?>
http://www.mystore.com.br
But for that to happen automatically with the variable that has the display function:
<php echo $ store ['url'];?>
Thank you for listening.