Based on Multiple Categories per product quick entry v1.1 for 2.2MS2
Author: Pavel Rojkov (www.algozone.com)
README
=============================================================================
This plugin has the purpose to insert and update in a easy way multiple
categories for 1 product.
This plugin is based on an other one (see abow) but this other plugin changed a
lot the basic system of updating a product in oscommerce. So I change it and now
it respect the system : change-preview-apply
Avantage:
---------
- Respect the oscommerce structure to modify a product
Desavantage:
------------
- not know for the moment
Legend: 
Download

Report
Just highlight the required categories whilst holding control down works gr8
"BOF product published by PBA" query removed from the installation directions because it does not work with out-of-the-box osC.
Update notes:
- Product preview not showing selected categories anymore as it is not necessary to make changes in preview.
- A few minor changes to HTML to make it (a bit more) XHTML compliant.
This file contain the last missed function and a bug fix with categories.php (missed <?php open function) causing:
Parse error: syntax error, unexpected '}' in D:LocalUserdcplusadmincategories.php on line 794
You must add this function to the /admin/includes/functions/html_output.php at the end of the file.
// Output a form muliple select menu
function tep_draw_mselect_menu($name, $values, $selected_vals, $params = '', $required = false) {
$field = '<select name="' . $name . '"';
if ($params) $field .= ' ' . $params;
$field .= ' multiple>';
for ($i=0; $i<sizeof($values); $i++) {
if ($values[$i]['id'])
{
$field .= '<option value="' . $values[$i]['id'] . '"';
if ( ((strlen($values[$i]['id']) > 0) && ($GLOBALS[$name] == $values[$i]['id'])) ) {
$field .= ' SELECTED';
}
else
{
for ($j=0; $j<sizeof($selected_vals); $j++) {
if ($selected_vals[$j]['id'] == $values[$i]['id'])
{
$field .= ' SELECTED';
}
}
}
}
$field .= '>' . $values[$i]['text'] . '</option>';
}
$field .= '</select>';
if ($required) $field .= TEXT_FIELD_REQUIRED;
return $field;
}
CHANGE LOG
==========
V0.2
------
- Problem: a date_publication.sql file was mentionned in the README.txt but actually you don't need it for this contribution
-> fixed
Based on Multiple Categories per product quick entry v1.1 for 2.2MS2
Author: Pavel Rojkov (www.algozone.com)
README
=============================================================================
This plugin has the purpose to insert and update in a easy way multiple
categories for 1 product.
This plugin is based on an other one (see abow) but this other plugin changed a
lot the basic system of updating a product in oscommerce. So I change it and now
it respect the system : change-preview-apply
Avantage:
---------
- Respect the oscommerce structure to modify a product
Desavantage:
------------
- not know for the moment