$rowdb["meta_keywords"]); if ( strcmp($dbc["name"], "not defined") ) $name = $row[ $dbc["name"] ]; else $name = xHtmlSpecialCharsDecode($rowdb["name"]); if ( strcmp($dbc["title"], "not defined") ) $title = $row[ $dbc["title"] ]; else $title = xHtmlSpecialCharsDecode($rowdb["title"]); $categoryID = $rowdb["categoryID"]; $customers_rating = $rowdb["customers_rating"]; $ProductIsProgram = trim($eproduct_filename) != ""; UpdateProduct( $productID, $categoryID, $name, $Price, $description, $in_stock, $customers_rating, $brief_description, $list_price, $product_code, $sort_order, $ProductIsProgram, "", $eproduct_available_days, $eproduct_download_times, $weight, $meta_description, $meta_keywords, $free_shipping, $min_order_amount, $shipping_freight, null, $title, 0 ); } else // add new product { $Price = 0.0; $list_price = 0.0; $sort_order = 0; $in_stock = 0; $eproduct_filename = ""; $eproduct_available_days = 0; $eproduct_download_times = 0; $weight = 0.0; $free_shipping = 0; $min_order_amount = 1; $shipping_freight = 0.0; if ( strcmp($dbc["Price"], "not defined") ) $Price = (float)$row[ $dbc["Price"] ]; if ( strcmp($dbc["list_price"], "not defined") ) $list_price = (float)$row[ $dbc["list_price"] ]; if ( strcmp($dbc["sort_order"], "not defined") ) $sort_order = (int)$row[ $dbc["sort_order"] ]; if ( strcmp($dbc["in_stock"], "not defined") ) $in_stock = (int)$row[ $dbc["in_stock"] ]; if ( strcmp($dbc["eproduct_filename"], "not defined") ) $eproduct_filename = $row[ $dbc["eproduct_filename"] ]; if ( strcmp($dbc["eproduct_available_days"], "not defined") ) $eproduct_available_days = (int)$row[ $dbc["eproduct_available_days"] ]; if ( strcmp($dbc["eproduct_download_times"], "not defined") ) $eproduct_download_times = (int)$row[ $dbc["eproduct_download_times"] ]; if ( strcmp($dbc["weight"], "not defined") ) $weight = (float)$row[ $dbc["weight"] ]; if ( strcmp($dbc["free_shipping"], "not defined") ) $free_shipping = ( trim($row[$dbc["free_shipping"]])=="+"?1:0 ); if ( strcmp($dbc["min_order_amount"], "not defined") ) $min_order_amount = (int)$row[ $dbc["min_order_amount"] ]; if ( strcmp($dbc["shipping_freight"], "not defined") ) $shipping_freight = (float)$row[ $dbc["shipping_freight"] ]; $ProductIsProgram = trim($row[$dbc["eproduct_filename"]]) != ""; $productID = AddProduct( $currentCategoryID, $row[ $dbc["name"] ], $Price, $row[ $dbc["description"] ], $in_stock, $row[ $dbc["brief_description"] ], $list_price, $row[ $dbc["product_code"] ], $sort_order, $ProductIsProgram, "", $eproduct_available_days, $eproduct_download_times, $weight, $row[$dbc["meta_description"]], $row[$dbc["meta_keywords"]], $free_shipping, $min_order_amount, $shipping_freight, CONF_DEFAULT_TAX_CLASS, $row[ $dbc["title"] ],0 ); } if (strlen($eproduct_filename)) SetProductFile( $productID, $eproduct_filename ); _importExtraOptionValues( $row, $productID, $updated_extra_option ); if ( count($dbcPhotos) > 0 ) _importProductPictures( $row, $dbcPhotos, $productID ); } // ***************************************************************************** // Purpose import row to database // Inputs // Remarks // Returns function imImportRowToDataBase( $row, $dbc, $identity_column, $dbcPhotos, $updated_extra_option, &$parents, &$currentCategoryID ) { if ( _isCategory($row, $dbc) ) { _importCategory( $row, $dbc, $parents, $dbcPhotos, $currentCategoryID ); } else _importProduct( $row, $dbc, $identity_column, $dbcPhotos, $updated_extra_option, $currentCategoryID ); } ?>ERROR: Couldn't find language file!