Installing a WYSIWYG editor for product descriptions in osCommerce v2.2 or v2.3.x

Step 1. Go to ckeditor.com and download the latest Editor Release (CK Editor, which has superseded FCK Editor)…

Step 2. Unzip it all, then upload the fckeditor folder and all it’s contents to your admin directory.

Step 3. Amend admin/categories.php.

Find this:

<script language="javascript" src="includes/general.js"></script>

After add it:

<script type="text/javascript" src="./ckeditor/ckeditor.js"></script>

Go to admin/includes/template_top.php and Find the line –

tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15',           (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));

Replace by  it

tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),' class="ckeditor"');

Upload it and refresh the category (prodcut adding/editing) page. You should see the newly installed Editor looking like this:

Enjoy it..        🙂