Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How can I populate this textarea?


Recommended Posts

This snipet of code is the text area field used in the product description when adding a product. I would like to populate it with text that I always have, every time I pull up the add new product section. Can someone tell me a way I could maybe declare a variable somewhere that has a bunch of text (formatted html) in it and then insert it into this statement somewhere?


<td class="main" width="100%"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '60', '20', (isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>






Link to comment
Share on other sites


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

  • Create New...