Zen Cart Logo
Forums / All Other Contributions/Addons / update products with data manager?

update products with data manager?

Locked

Views: 2,237

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
7 Sep 2006, 7:50 PM
#1
elgabi avatar

elgabi

New Zenner

Join Date:
Sep 2006
Posts:
1
Plugin Contributions:
0

update products with data manager?

Sorry for my english...:cry:

I've installed zen cart in my store succesfully but I need to edit many products at the same time.
For this, I use Data manager and import works great!. I need updated the catalog every day with information about stock and price, but I don't want to create all the products each.
I'm trying to edit the code for Data manager, and I think that questio is in import csv information to MySql.
I find this:

	if ($import_method == 'insert') {
					$import_csv_query = "INSERT INTO " . $current_table . ( $sql_fields !== false ? " ($sql_fields)" : '') . " VALUES ";
				}

And try to add a "ON DUPLICATE KEY UPDATE" instruccion, but always failed!
anybody can help me, please?

7 Sep 2006, 9:42 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: update products with data manager?

Since all you need is stock and price, why not use Easy Populate, rather than have to customize code?