Index: openacs-4/packages/ecommerce/www/admin/products/upload-utilities.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/products/upload-utilities.tcl,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/ecommerce/www/admin/products/upload-utilities.tcl 9 Mar 2004 00:59:51 -0000 1.4 +++ openacs-4/packages/ecommerce/www/admin/products/upload-utilities.tcl 17 Feb 2005 11:56:02 -0000 1.4.2.1 @@ -19,43 +19,57 @@
-There are three utilities provided with the ecommerce module that can -help you load you catalog data into the database: +These utilities help you load catalog data into the database: -

The product loader uploads a CSV file that contains one line per product -in your catalog. Each line has fields corresponding to a subset of the -columns in the ec_products table. The first line of the CSV file is a -header that defines which fields are being loaded and the order that -they appear in the CSV file. The remaining lines contain the product -data. - -

The product extras loader is similar to the product loader except it -loads data into ec_custom_product_field_values, the table which contains -the values for each product of the custom fields you've added. -The file format is -also similar to that of the product data CSV file. - -

Note:You must load the products and define the extra fields -you wish to use before you can load the product extras. - -

The product category map loader creates the mappings between products -and categories and products and subcategories (specifically, it inserts -rows into ec_category_product_map and ec_subcategory_product_map.) The -CSV file you create for uploading should consist of product id and -category or subcategory names, one per row. This program attempts to be -smart by using the SQL like function to resolve close matches between -categories listed in the CSV file and those known in the database. - -

Note:You must create the categories and subcategories before -you can use the product category map loader. - -

Images and thumbnails

-

Currently, there is no feature for bulk uploading images. However, the code will automatically recognize images that are placed in the product's directory. Use the filename \"product\" and either \".gif\" or \".jpg\" extension for product image. Thumbnails use the filename \"product-thumbnail.jpg\". No facility exists for GIF thumbnails, because they tend to have larger file sizes which signifcantly slow page loads via ssl. Note: PNG extensions are not supported either, as there is no ns_pngsize function (at the time of this writing).

+

+ Note: Products need to be loaded and their extra fields need to be defined before + loading product extras. +

+

+ Note: Categories and subcategories need to be created before using + a Product Category Map Loader. +

+

+ Note: There may be a peak load condition on the server for an extended period + when bulk loading of product images create product thumbnails (optional feature). +

[ad_admin_footer] "