Zen Cart Logo
Forums / Addon Admin Tools / EasyPopulate 4.0 Support Thread

EasyPopulate 4.0 Support Thread

Sticky

Views: 733,367

Results 2,801 to 2,820 of 3,671
18 Aug 2017, 3:49 PM
#2801
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

EasyPopulate 4.0 Support Thread

I have just upgrades to EP4 and having 1 issue and Im sure it is something Ive missed.

My main categories are INKJET / TONERS / SOLID INK / RIBBONS / DRUMS etc

When these are clicked inside each are ADVENT / BROTHER / CANON / DELL / EPSON etc

When using the earlier version this was working okay, since the upgrade I still have the main categories however there are no sub categories so all INKJET are all together.

I have checked to make sure the CSV headings are correct so I`m baffled.

Any advice muchly appreciated as it always is.

Mike Smith

18 Aug 2017, 4:31 PM
#2802
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

MCS_Computers:

I have just upgrades to EP4 and having 1 issue and Im sure it is something Ive missed.

My main categories are INKJET / TONERS / SOLID INK / RIBBONS / DRUMS etc

When these are clicked inside each are ADVENT / BROTHER / CANON / DELL / EPSON etc

When using the earlier version this was working okay, since the upgrade I still have the main categories however there are no sub categories so all INKJET are all together.

I have checked to make sure the CSV headings are correct so I`m baffled.

Any advice muchly appreciated as it always is.

Mike Smith
Take a look at the export of a file related to a category that either has or is a sub-category and also the instructions, both of which would identify that sub-categories are identified by using the carat symbol (^) as the divider between each such sub-category.

18 Aug 2017, 7:43 PM
#2803
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I used the EP to download a Model/Category and it said Inkjet^Advent as I had only imported the advent CSV file but through the store Inkjet had no sub categories. Sorry if that's not what you meant, you`ve helped a lot over the last few days so you should know that I'm a beginner, this is my last hurdle.

18 Aug 2017, 9:51 PM
#2804
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

MCS_Computers:

I used the EP to download a Model/Category and it said Inkjet^Advent as I had only imported the advent CSV file but through the store Inkjet had no sub categories. Sorry if that's not what you meant, you`ve helped a lot over the last few days so you should know that I'm a beginner, this is my last hurdle.
In a way that's what I meant, if I understand correctly. (which I'm not entirely sure that I do.)

My thoughts were this. If you already have at least one category that is a sub-category (preferably "manually" generated groups), then export of product (active or all) for that category (or sub-category) using the dropdowns across the top of the EP4 tools/admin screen would reflect the information/way that EP4 would expect the data to be made available to reproduce the same type/style of a product.

Mind you, again, the file generated is UTF-8 and the file normally expected for upload followed by import should also be in UTF-8 format. Further, the expectation is that if you look at the raw csv file using a plain text editor both before and after editing, they should look relatively similar. EP4 does add some extra double quotes (" not ') around information, that at least when using Open Office tend not to be "put back", but that's not necessarily an issue.

Anyways, I don't want to overload, especially if the first couple of things above address the issue (again, assuming I understand correctly)

18 Aug 2017, 10:53 PM
#2805
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

It has to be a EP4 thing because my previous version imports the CSV and the store shows category and sub categories as it should

18 Aug 2017, 11:05 PM
#2806
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

MCS_Computers:

It has to be a EP4 thing because my previous version imports the CSV and the store shows category and sub categories as it should
Umm. The proof of the "EP4" thing would be to export the file, then do nothing with it but upload and then import it again. The result should be no change to the site.

Then considering that the upload/import of an untouched file works, the next thing is to modify something about the file and repeat the upload/import. The only thing that should change is what was modified.

EP4 works to generate new categories as well as to add product to existing/new categories. If it doesn't for the particular site, then we need to start talking about information that is provided on the EP4 screen to see what isn't correctly setup, the configuration settings, and/or the details of generating the modified csv file.

If need be, PM me login details.

18 Aug 2017, 11:12 PM
#2807
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

MC thanks yet again you pointed me in the direction to fix it.

In the older version of EP it created 2 columns, v_categories_name_1 and v_categories_name_2

1 had Inkjet in and 2 had Advent in, I deleted the 2 column and changed 1 from Inkjet to Inkjet^Advent, re imported the CSV and it worked a treat.

Many thanks once again buddy, it is much appreciated.. :D

18 Aug 2017, 11:22 PM
#2808
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

MCS_Computers:

MC thanks yet again you pointed me in the direction to fix it.

In the older version of EP it created 2 columns, v_categories_name_1 and v_categories_name_2

1 had Inkjet in and 2 had Advent in, I deleted the 2 column and changed 1 from Inkjet to Inkjet^Advent, re imported the CSV and it worked a treat.

Many thanks once again buddy, it is much appreciated.. :D
As discussed in one of the other threads, EP4 uses that number to correspond to a language. Yes, it's a little bit of a puzzle and I've been wanting to change the number to a language, but there were other more important fixes to apply over time. At any rate, if you go multi-language, then you can use EP4 to populate the associated language fields using the applicable v_FIELD_LANGUAGEID. Where FIELD might be something like products_description, category, etc... LANGUAGEID would be the number next to the language that you see on the right side of the EP4 tools screen.

28 Sep 2017, 2:11 PM
#2809
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I'm in the process of building a catalog with about 25,000 products. Even when the data is segmented into groups of 5,000 products, my spreadsheet (libreoffice) bogs down when all data is present (particularly the html for product description pages).

To make this manageable, I want to upload/insert in stages. First I'll CREATE products by inserting bare minimum info (model, ID, Category, Prod name, qty, status, order units, etc). After that, I'll come back and UPDATE those products by inserting additional data (image, price, description, etc).

The following questions are about working with product files (eg, Full-EP2017Sep26-165412.csv).

Product page creation questions:

  1. When creating NEW product pages, can I leave the following columns blank (no data)?
    v_products_description_1
    v_products_price
    v_products_weight
    v_date_avail
    v_date_added

If not, I'll insert small dummy info to replace during later updates.

  1. When creating NEW product pages, can I delete columns I don't need at the moment (meta data, specials, etc) to reduce clutter? Or does EP4 freak out if columns it expects don't exist?

Updating product page questions:
3. When updating EXISTING product pages, can I delete columns I don't wish to change (category, product name) to reduce clutter? Obviously I'll keep the important ones (model, ID, etc).

  1. If I have to keep all columns, can I leave the ones I don't wish to change blank?
28 Sep 2017, 5:23 PM
#2810
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

Sorry for the delay in responding.

So... First thing and I know it doesn't directly help with the local effort of adding product to the spreadsheet, but EP4 offers the ability to split a file that is either exported to the server or uploaded to the server. So you could (later) do updates of existing data by exporting, then splitting then downloading so that when you open the file you aren't "troubled" by too many rows/too much data.

That said, if you haven't downloaded the github version which supports product export without including linked product, then when a set of data is split, there is the possibility, however remote, that a row of data for a product could be in one split file and another... the last one imported wins...

To your questions about uploading new product. The concept of the software is that when working with the main product information, only required fields need to be in the file. For new product that is a primary key and a category. For any field not included, generally speaking it will default to some form of emptiness. For dates, if the date_added field is not included, then it will default to now, whenever now is. If the field is included and it is blank or has a date less than 0001-01-01 00:00:00, then it will be set to that (which should be the default in the database, but that's a different story.) v_date_avail does not default to a now condition, but instead a "blank" condition.

As to product status, if it is not provided then it should default to either off (disabled) or the status default in your database. There is a consideration though as to if a product is uploaded that has 0 quantity and the store is set to deactivate product that have 0 quantity then the product will be deactivated regardless of the condition of the uploaded status. Sort of an EP4 working with ZC condition.

Otherwise, regarding your "plan" for updating. Again, when discussing the main product information (not yet incorporated in attributes and a couple other off-shoots), if you don't want to even possibly change a field, then the field column should and can be omitted. If the field is present, whatever is in that column will be attempted to be pushed to the database. If that means the column is blank, then the data will be removed, if it changed from "up" to "down" then "down" will be what remains...

Now, if I have incorrectly stated these things, such that the software does not operate as I have described, please identify as it more than likely is a mistake.

Now, attributes and category specific changes, I know attributes haven't been further modified to permit import with fields missing, but I think at the moment that category import is the same (operation hasn't been modified to support upload with missing fields).

Again, to your last question, there has not been a setting established to leave a field alone if the field is present but the row data is blank. I don't seem to recall anyone asking for that and I tend to look at it as extra work to blank a field to prevent an update as compared to possibly two different file imports or to leave the data as is. (it's possible in most spreadsheet programs to "lock" a field to prevent editing, so would recommend that route instead personally...)

28 Sep 2017, 6:28 PM
#2811
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

mc12345678:

Sorry for the delay in responding.

So... First thing and I know it doesn't directly help with the local effort of adding product to the spreadsheet, but EP4 offers the ability to split a file that is either exported to the server or uploaded to the server. So you could (later) do updates of existing data by exporting, then splitting then downloading so that when you open the file you aren't "troubled" by too many rows/too much data.

That said, if you haven't downloaded the github version which supports product export without including linked product, then when a set of data is split, there is the possibility, however remote, that a row of data for a product could be in one split file and another... the last one imported wins...

To your questions about uploading new product. The concept of the software is that when working with the main product information, only required fields need to be in the file. For new product that is a primary key and a category. For any field not included, generally speaking it will default to some form of emptiness. For dates, if the date_added field is not included, then it will default to now, whenever now is. If the field is included and it is blank or has a date less than 0001-01-01 00:00:00, then it will be set to that (which should be the default in the database, but that's a different story.) v_date_avail does not default to a now condition, but instead a "blank" condition.

As to product status, if it is not provided then it should default to either off (disabled) or the status default in your database. There is a consideration though as to if a product is uploaded that has 0 quantity and the store is set to deactivate product that have 0 quantity then the product will be deactivated regardless of the condition of the uploaded status. Sort of an EP4 working with ZC condition.

Otherwise, regarding your "plan" for updating. Again, when discussing the main product information (not yet incorporated in attributes and a couple other off-shoots), if you don't want to even possibly change a field, then the field column should and can be omitted. If the field is present, whatever is in that column will be attempted to be pushed to the database. If that means the column is blank, then the data will be removed, if it changed from "up" to "down" then "down" will be what remains...

Now, if I have incorrectly stated these things, such that the software does not operate as I have described, please identify as it more than likely is a mistake.

Now, attributes and category specific changes, I know attributes haven't been further modified to permit import with fields missing, but I think at the moment that category import is the same (operation hasn't been modified to support upload with missing fields).

Again, to your last question, there has not been a setting established to leave a field alone if the field is present but the row data is blank. I don't seem to recall anyone asking for that and I tend to look at it as extra work to blank a field to prevent an update as compared to possibly two different file imports or to leave the data as is. (it's possible in most spreadsheet programs to "lock" a field to prevent editing, so would recommend that route instead personally...)

YAHOOO! That bolded out statement is faaaaantabulous!

To be super clear, you're saying that after a product has been added, future uploaded files can (and should) contain only the primary key (for me it's ID) and the column(s) containing data I wish to insert/change?

For instance, I could upload a csv with only two columns of data like so:
v_products_id and v_products_description_1

If so... awesome. This just got really easy. :)

Thank you so much for providing so much info!

28 Sep 2017, 7:29 PM
#2812
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

Feznizzle:

YAHOOO! That bolded out statement is faaaaantabulous!

To be super clear, you're saying that after a product has been added, future uploaded files can (and should) contain only the primary key (for me it's ID) and the column(s) containing data I wish to insert/change?

For instance, I could upload a csv with only two columns of data like so:
v_products_id and v_products_description_1

If so... awesome. This just got really easy. :)

Thank you so much for providing so much info!
That's the expectation. If it doesn't deliver that way, please advise. There's a lot of possible columns and I don't think each individual scenario was attempted, but it was all based on a philosophy developed by the needs of those that asked and demonstrated how such feature(s) could be advantageous and make the work easier. :) So, if I lied to you, I'd like the opportunity to either fix the issue or explain why it is the way it is.

29 Sep 2017, 12:57 PM
#2813
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I uploaded in two passes... worked like a charm, exactly as advertised!

FIRST UPLOAD (created 20k+ products)
I left all column headers from template in place. This file contained most of the real prod data (model, image, price, etc), except page html and meta title/description. Once uploaded, I let EP4 segment before I inserted.

SECOND UPLOAD (updated all the freshly created products)
This file contained only two columns of data, product ID (my control) and html. It worked perfectly, with only one minor problem.

Problem was that the csv was really big (54mb). When I used EP4 to upload, it failed for some reason so I ended up having to use FTP client for upload. Once in, I attempted to split the file using EP4. I have it set to split at 5000 records, so I expected 5 segments (same as first upload above). Ended up with like 100 segments! lol

No biggy. I manually split, uploaded and inserted. My smaller segments went thru without a problem.

Anyway, wanted to follow up and let you know it went smoothly. Today I'll be updating all meta data using the same limited column strategy. I don't anticipate any issues, but I'll report back if any occur.

Thanks a lot, MC. You da man!

29 Sep 2017, 8:33 PM
#2814
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

Great information and glad that it worked so well (mostly) :). While I've added to this plugin, it certainly was built on a concept and with a design of others so I can't take all the credit. :)

Regarding the multi-file split that occurred. Did you happen to look at the contents of one or more of them to see what they held or be willing to try again and see?

I'm curious to find out what conditions were in place to cause that issue.

29 Sep 2017, 10:22 PM
#2815
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

About the split, I'll have to recreate for you.

But I just hit a massive roadblock. I've been at it for 12 hours, head throbbing, ready to smash my puter! :(

I just used EP4 to upload all meta titles, descriptions. Since I had flipped on all the meta statuses I wanted during my first product upload, all I was uploading was three columns of data (ID, Title, Description).

Nothing happened. I mean, meta title/description got inserted... but they didn't show up in page source. So I went to a product via my admin panel and tried to flip meta data on manually. I could see the meta stuff I wanted in Admin, but couldn't make them active.

I'll trouble shoot in the morning, when I can finally think again.

Is it possible I broke something during the initial upload by setting v_metatags_title_status to 1, but then leaving v_metatags_title_1 blank?

To test that possibility out, I'll revert back to before that first big upload. When I repeat the upload, next time it will have all the meta info with it.

But I think I may have actually broken something.... even before the EP4 insertion. The amin itself won't allow me to change meta settings.

Ug. Anyway, I sooooo done for the day. It's miller time. Better yet, it's Makers time!

30 Sep 2017, 11:04 AM
#2816
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

So, Hmmm. Had a chance to reread what was provided above, look through the forum and read some code.

EP4 regarding metatags does still have one requirement which is to include the metatags_title (which you have done) in order to process in metatag information. The next thing for a ZC side, is that the applicable metatag information needs to have a status of 1 (true) in order for ZC to say, yes should display. In between those two is that EP4 needs to know whether it should try to process/export metatag information from the configuration menu.

Based on the provided process I'm thinking the individual status setting did not get set/establish for the records and so the data is present but not displayed?

30 Sep 2017, 7:18 PM
#2817
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I think you're right.

I just used EP4 to upload, split, then import meta info again. This time I included all meta variable columns, set as I desired (0 for status I didn't want, 1 for status I wished to use).

Went smooth, no issues to report.

Thank you so much for all your help!

16 Nov 2017, 7:14 PM
#2818
cindygordon avatar

cindygordon

New Zenner

Join Date:
Sep 2016
Location:
Dallas, TX USA
Posts:
71
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

There are so many places to download, which is the place to download the most current version? Is it the one listed on the first post of this thread, that is dated April 2006 or is that just a beta?

16 Nov 2017, 7:41 PM
#2819
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: EasyPopulate 4.0 Support Thread

cindygordon:

There are so many places to download, which is the place to download the most current version? Is it the one listed on the first post of this thread, that is dated April 2006 or is that just a beta?
The location shown in the first post of this thread has generally been kept up with the official current release. However, that said, there is the version that was released to/through ZC available for download here. Updates, new features, etc. Are worked on/distributed through github here. The thing about that version is that the software version tends not to be updated until near submission to ZC so database changes made in it may not appear to need installing until later.

Further, that said, some new features and modifications are being incorporated as they are identified as successful for operation. There are a few branches each with some different features to be verified and incorporated. Perhaps the most innovative is the identification of the csv delimiter and the potential use of the discovery. It is still limited to a base set of delimiters, but at least easier to work with other than the base CSV (Comma Separated Values).

Anyways, hope that helps.

17 Nov 2017, 6:56 PM
#2820
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

The verion I like best is EasyPopulate 4.0
Google "EasyPopulate 4.0" and go to the "EasyPopulate V4 - Zen Cart® Plugins and Addons" link.

Or search "ep4" on the plugins page.