lat9 / dbio

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

product import of duplicate models is allowed despite admin configuration switch #195

Closed torvista closed 2 years ago

torvista commented 2 years ago

1) admin switches: Products Import: Allow Duplicate Models? No Products: Product Creation Requires Command? Yes Products: Auto-Create Categories on Import? Yes

2) Use csv with product_id column 0, category column containing new cats, db_command ADD Products and categories are created correctly.

3) Repeat the import with same csv. New products are created with duplicate model numbers. I know ADD was still in the command column (forgot to remove), but the admin switch should prevent the import.

4) If ADD is removed, new products are not created, as expected.