lat9 / dbio

Database Input/Output for Zen Cart
GNU General Public License v3.0
3 stars 1 forks source link

Product Import-Update clarification #173

Closed torvista closed 4 years ago

torvista commented 4 years ago

Starting with DbIo v1.1.0, a product's record can be located via either its products_id or products_model (both columns are required in the import file)

For an update of product data, I am investigating some errors and am unclear on the process.

If a product can be located by either field and both are required columns, how do I force it to use the id, to ignore/overwrite the model?

lat9 commented 4 years ago

The id is overriding. For instance, I changed a demo-product's model number (and quantity) via this dbio.Products.test.csv

v_products_id,v_products_model,v_products_quantity,v_dbio_command
1,MG200MMS-updated,18,