
Originally Posted by
cherylc
Hi. thanks for your reply. No I haven't done a detailed attributes upload as I'm not sure how to do this. I was getting along with EasyPopulate fine then it just stopped working. Apparently there is some kind of bug? I've really struggled with EP4 - I'm OK with the full EP just the attributes files. I know I sound hopeless but I'm not sure how to run a SQL statement. Like I said I'm a total newbie to all this and am learning as I go along. I managed to find where the problem lies in the admin console but just can't figure out what it is on my files which is causing this to switch to 'no'. Also, the admin console runs really slow on my pc so yesterday it took me over 2 hours to edit 111 items. By the way I'm using Excel - don't know if this makes a difference. I'm also using version 1.5.1 of Zen Cart
Generally speaking, using Excel with EP4 could cause problems if additional actions are not taken with the CSV file that is produced from it or from within Excel to ensure that the CSV file is properly formatted.
Examples identified here have been, the change of date format (Excel default (01/02/2013 versus 2013-02-01)), not all strings get captured in quotes, and a few other things that are "unexpected" when exporting a document as a CSV.
So a detailed attributes file is a lot like the basic attributes file. The easiest way "to do that" is to export a detailed file and take a look through it. From there you can make changes (suggest saving as a different name so that you don't lose the previous download), and then upload the changed document. The suggested editor when using EP4 is Open Office (OO) as it can be configured to address all of the "other" issues not addressed by Excel. That said, I do not think that Excel specifically is the reason you're seeing what you are seeing.
If you look in the file admin\includes\functions\extra_functions\easypopulate_4_functions.php search for "function ep_4_set_filelayout" then find "$filelayout[] = 'v_products_quantity_order_units';" just below that and add:
Code:
$filelayout[] = 'v_products_quantity_mixed';
and then a little below there, look for:
"p.products_quantity_order_units as v_products_quantity_order_units,"
and just after that add:
Code:
p.products_quantity_mixed as v_products_quantity_mixed,
save the file back to it's location, and then your import and export of the full product list should include the information related to the mixed attribute.
Regarding why you have to "change" that value, for products that have already had that set as on (value of 1) this should not change; however, the typical default setting of ZC is to create the product with the attribute set to off (value of 0).
My recommendation would be this: Upload new product(s), add attribute(s), then upload the product list again with the value of v_products_quantity_mixed updated to show 1 for those products that are to have mixed value(s).
(Knowing the version of ZC in this regards, does help at least a little. It confirms that this product is compatible and not a reason for the "error".)
Help? (BTW, don't have a problem providing more information as requested, I understand that you are new to all things Zen, but also don't want to talk down to you and go through some long description that you already know how to do or understand. :) )
Bookmarks