You just need to edit the appropriate file in admin: for the standard product-general product type, edit admin/includes/modules/product/collect_info.php and find this line of code (about line 449):
Code:
$default_directory = substr( $pInfo->products_image, 0,strpos( $pInfo->products_image, '/')+1);
and change it to:
Code:
$default_directory = (zen_not_null($pInfo->products_image) ? substr( $pInfo->products_image, 0,strpos( $pInfo->products_image, '/')+1) : 'products/');
This makes the dropdown auto-selected as the images/products/ folder for new products, but retains the original folder name for existing products.
Bookmarks