This is a discussion on Options as Images within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Fix: forgot closing operator bracket in new code. Should be if ($option_value_image = new upload('value_image_input', DIR_FS_CATALOG_IMAGES.'options/')) { if (tep_not_null($option_value_image->filename)){ tep_db_query("update ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Should be if ($option_value_image = new upload('value_image_input', DIR_FS_CATALOG_IMAGES.'options/')) { if (tep_not_null($option_value_image->filename)){ tep_db_query("update " . TABLE_PRODUCTS_OPTIONS_VALUES . " set products_options_values_thumbnail = '" . tep_db_input($filename) . "' where products_options_values_id = '" . tep_db_input($cID) . "'"); } } FULL PACKAGE. Fixed options_images.php and update guide for v1.7 More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Options as Images | michael_s | New osCommerce Contributions | 0 | 10-06-2008 04:54 PM |
| Options as Images | michael_s | New osCommerce Contributions | 0 | 10-06-2008 01:00 PM |
| Options as Images | michael_s | New osCommerce Contributions | 0 | 10-06-2008 12:10 PM |
| Options as Images | michael_s | New osCommerce Contributions | 0 | 10-02-2008 10:00 AM |
| Options as Images for MS2 | michael_s | New osCommerce Contributions | 0 | 09-24-2008 03:00 PM |