Index: openacs-4/packages/ecommerce/www/admin/products/add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/products/add-2.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ecommerce/www/admin/products/add-2.tcl 27 Apr 2008 01:38:24 -0000 1.7 +++ openacs-4/packages/ecommerce/www/admin/products/add-2.tcl 13 Aug 2008 11:34:30 -0000 1.8 @@ -71,6 +71,9 @@ } } +set title "Add A Product continued" +set context [list $title] + ad_require_permission [ad_conn package_id] admin # set_the_usual_form_variables @@ -140,7 +143,7 @@ set thumbnail "" -if { [info exists upload_file] && ![string compare $upload_file ""] == 0 } { +if { [info exists upload_file] && [string length $upload_file] > 4 } { # tmp file will be deleted when the thread ends set tmp_filename ${upload_file.tmpfile} @@ -163,48 +166,21 @@ # Need to let them select template based on category -doc_body_append "[ad_admin_header "Add a Product, Continued"] +set export_form_vars_html [export_form_vars product_name sku category_id_list subcategory_id_list subsubcategory_id_list one_line_description detailed_description color_list size_list style_list email_on_purchase_list search_keywords url price no_shipping_avail_p present_p shipping shipping_additional weight linked_thumbnail product_id stock_status dirname] -