i'm running into an interesting situation - i'm able to upload all product and i'm a HUGE fan of easy populate - used it in osCommerce and now i'm moving up in the world to zen cart! 'priciate all the hard work langer
NEway, to the issue at hand, when i upload the spreadsheet, i get all my products, however, i have manufacturers for some products but not all - the products i leave empty are somehow acquiring a manufacturer from (i believe) the previously added product that DOES have a manufacturer. an exerpt from a fresh upload (after removing all products using v_status=9):
NEW PRODUCT! - Model: 90000 | 90000.gif | Essential | We're spil | 15.95 | | 8/11/2006 | 0 | Gifts | | Taxible Go | 1 |
NEW PRODUCT! - Model: 120000 | 120000.gif | SportDog™ | Blaze oran | 219.95 | SportDog | 8/11/2006 | 0 | Dog Produc | Training A | Taxible Go | 1 |
NEW PRODUCT! - Model: 250000 | 250000.gif | Dale Spart | Page after | 66.95 | | 8/11/2006 | 0 | Gifts | | Taxible Go | 1 |
these three items are the first three items in my spreadsheet. model 90000 is fine, the manufacturer is blank (which is good). the second item (model 120000) has a manufacturer 'SportDog' (which is good). the third item (model 250000) show's here no manufacturer (which is good) - however checking the item (250000) in my store, the listing has 'SportDog' as the manufacturer (which is NOT good). i'm lead to believe that this is due to a bug where all the fields are not cleared before the next SQL statement is executed (in particular the v_manufacturers_name field).
am i the only one who's run across this scenario? i've perused /admin/easypopulate.php and i'm looking between lines 1765 and 1802 of v1.2.5.4 - the IF statement that converts the manufacturer's name to the ID and the only place where the $v_manufacturers_name variable is used. i see that there is no ELSE statement to handle the case where $v_manufacturers_name==''.
the obvious workaround would be to put the items that do not have a manufacturer at the top of the spreadsheet, so there would be nothing to replace the nothing that is listed. but this is just another step, that could be easily forgotten.
a heads up to you langer, right now i do not have time to work on that ELSE or perhaps an ELSEIF... but if you might know of what i'm speaking and might be able to turn around a quick fix for this, that'd be most excellent.
again, love the plugin! and thanks for all the hard work!
Bookmarks