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

EasyPopulate 4.0 Support Thread

Sticky

Views: 733,152

Results 1,441 to 1,460 of 3,671
24 Jun 2014, 9:30 PM
#1441
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

EasyPopulate 4.0 Support Thread

Thanks for the explaination mc12345678. I installed the EP4 plugin, and it works great now (after the sql patch for quantity error).

I, too, am wanting the same thing as triplex, and after days of reading posts (yes days), so do many others, so if this topic gets moved, please post the link...

From my old miva days, I had bought an extra fields plugin from viking coders that was great. You created the fields, uploaded your header-less cvs text file, and during import products, simply assigned the fields (including extras) to the columns that you wanted via pull down menus in the admin. It was great because I could, too, keep my columns in my text file in the order I WANTED, not a set, rigid, zencart order. Then from the admin, I could edit the product pages and insert the variable name tolken (v_product_custom_field) to have it displayed in the html page where ever.

A plugin like that would be great for zencart...

An

25 Jun 2014, 3:57 PM
#1442
triplex avatar

triplex

New Zenner

Join Date:
Jun 2014
Posts:
6
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Is there a definitive guide on how to create attributes and feed them in to my site via csv?

My supplier has given me a csv and I need to transfer the attributes for each product to my zencart site.

So far I have managed to "match up" the data in the various columns and import all of the products, images and prices thanks to the info in this support thread.

But I can't do the same with the attributes side of things, and I can't find anything anywhere that tells me how to do it.

I have read about creating a basic attribute file but TBH I don't understand options/values etc. I really need an idiot sheet detailing step a to z if possible.

Do I have to import the main data first, and then set up a seperate csv for the attributes?
And then how do I input the attributes from the suppliers csv? Or are they picked up automatically somehow?

4 Jul 2014, 1:37 AM
#1443
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stiggybaby:

Thanks for the explaination mc12345678. I installed the EP4 plugin, and it works great now (after the sql patch for quantity error).

I, too, am wanting the same thing as triplex, and after days of reading posts (yes days), so do many others, so if this topic gets moved, please post the link...

From my old miva days, I had bought an extra fields plugin from viking coders that was great. You created the fields, uploaded your header-less cvs text file, and during import products, simply assigned the fields (including extras) to the columns that you wanted via pull down menus in the admin. It was great because I could, too, keep my columns in my text file in the order I WANTED, not a set, rigid, zencart order. Then from the admin, I could edit the product pages and insert the variable name tolken (v_product_custom_field) to have it displayed in the html page where ever.

A plugin like that would be great for zencart...

An

Welcome for the little help I offer. :) my apologies for the SEVERELY delayed response. I have no real excuse and it's not like I didn't start on this response the same day it was posted.

While as a tool such as EP4 is being used ever more for mass product import and some of these features probably support that, I could not be sure how long it might take to develop the extra functionality. I could foresee the possibility of saving said output format sequences by a name or other convention. Technically, something like that can be done already with a little coding/code movement, anyways. On the issue of layout, the file being imported can be in any sequence already, it is the output that is currently in a set sequence. The latest author had even (though possibly years ago) asked for input on sequencing and if I'm not mistaken had received little to no input and therefore developed what is present out of personal/professional need.

Regarding extra fields, while EP4 is handy at "communicating" with the database, there are some aspects that have not made it to the public (github) version. For example, the current code uses get statements/links instead of form posts.m. As a result the added functionality described above is rather difficult to include. Hopefully the next version/update of this will incorporate a post method ofoperation, so such added functionality can be easily incorporated. (Things such as drop downs, radio buttons, etc... Without the need for javascript)

In the meantime, the code should be easily enough modified to suit the individual needs of sequence. Yes the suggested functionality would make it more adaptable for on the fly import and would offer the possibility of "saving" various setups so that the import/export could be repeated in the same sequence again in the future.

4 Jul 2014, 2:56 AM
#1444
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

triplex:

Is there a definitive guide on how to create attributes and feed them in to my site via csv?

My supplier has given me a csv and I need to transfer the attributes for each product to my zencart site.

So far I have managed to "match up" the data in the various columns and import all of the products, images and prices thanks to the info in this support thread.

But I can't do the same with the attributes side of things, and I can't find anything anywhere that tells me how to do it.

I have read about creating a basic attribute file but TBH I don't understand options/values etc. I really need an idiot sheet detailing step a to z if possible.

Do I have to import the main data first, and then set up a seperate csv for the attributes?
And then how do I input the attributes from the suppliers csv? Or are they picked up automatically somehow?

I don't know how long it hastaken to write this reply as I know that I am continuously being interupted as I write it.

A definitive guide for adding attributes. Debatable on whether this could be considered such, but let me try to explain the functionality in perhaps the most understandable way possible.

Consider how sucha process works in thhe admin panel. Now instead of doing this one product, one attribute, one category at a time. Then repeat that step of the process for however many items/type of things are to be acted upon. So for example, an item can't be assigned an option value until both the option value and the product independently exist to be paired together.

The next aspect of consideration is the use of the basic or full option. This comparison has been described a couple of times in the thread by me and others.

For the most part, each option on the EP4 screen requires a different CSV file, while some actions could get combined, this way each file is identified to a task, and each task has an identified file. More things couldbe combined in some cases, but it makes for a consistent process. Again the a-z process is basically the same as what would be found in the FAQ on performing each suchaction. In order to do one action, a different action has to have been done before that. As for matching columns, what I suggest is that one or more products be created with the applicable type of information added, possibly with the name of what is seen on screen, export the various types of information and then realize that filling in the information beneath the column header will populate the model with that information.

That's about as simple of an explanation as I can offer. I'd be glad to offer more if there are more questions. Again apologize for the delay in replies. (Fyi, I started to write this within a minute of my last post in this thread.)

12 Jul 2014, 11:53 PM
#1445
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

zencart 151 w/EP4 > upgraded to 153 > login, admin, tools, Easy Populate 4 = EP4 FATAL ERROR: No default language set.

Am I the first to get this error after the upgrade from 151 to 153, or did I do something wrong?

Thank you

13 Jul 2014, 12:36 AM
#1446
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stiggybaby:

zencart 151 w/EP4 > upgraded to 153 > login, admin, tools, Easy Populate 4 = EP4 FATAL ERROR: No default language set.Am I the first to get this error after the upgrade from 151 to 153, or did I do something wrong?Thank youFirst to report it at least. Guess I'll be trying out ZC 1.5.3 to see what's new. Have already helped some others with installs of other types of product and personally was hoping that this would not be affected since it doesn't overwrite any of the files.So the error appeared when you went to the menu selection for EP4? Didn't have to try to upload or download anything to get it?

13 Jul 2014, 12:51 AM
#1447
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I cannot even try to upload/download anything...

I've got 2 test sites/zencart installs. First one I upgraded to 153, clicked on tools>Easy Poplulate 4 and got basically a white page with only that error message on the page.

So, I thought with the other test zencart, I'll click on tools>EP4 and click on the uninstall first, then go an upgrade to 153, then go back to tools>EP4 and click on install, but instead got the same white page with the error message.

13 Jul 2014, 1:06 AM
#1448
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stiggybaby:

I cannot even try to upload/download anything...I've got 2 test sites/zencart installs. First one I upgraded to 153, clicked on tools>Easy Poplulate 4 and got basically a white page with only that error message on the page.So, I thought with the other test zencart, I'll click on tools>EP4 and click on the uninstall first, then go an upgrade to 153, then go back to tools>EP4 and click on install, but instead got the same white page with the error message.Unfortunately, that is the response I would expect. This may not work still (if you intend to try to uninstall which won't really fix the problem, again there is nothing overwritten. Will need to figure out what variables are necessary to continue to "track" the default language or see why you're getting that error. The second site, was that a clean install? Not an upgrade?The link that you would be clicking on is something like: YOUR-STORE/YOUR_ADMIN/easypopulate_4.php?epinstaller=removeThe thing is, that the first "page" is still loaded, but I don't know if the error will still occur before, at, or after the code that picks up that the program is to be uninstalled. Effectively at the moment, EP4 is looking for what ZC considers to be the default language. That is not being found (in your store) the way that EP4 expects. Testing will need to be done to see if 1) can be reproduced, 2) what is needed to eliminate the error other than removing the display of the default language on the first page. (Data is used throughout the code.)

13 Jul 2014, 2:01 AM
#1449
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Just did a brand new 153 install.
Uploaded EP4 files for EP4 install on new zencart 153 install.
Admin Login>Tools>Easy Populate 4
Same result: EP4 FATAL ERROR: No default language set.

Is there a quick fix like deleting a line out or editing a line in the easypopulate_4.php file? I only plan on using English.

13 Jul 2014, 5:20 PM
#1450
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stiggybaby:

Just did a brand new 153 install.
Uploaded EP4 files for EP4 install on new zencart 153 install.
Admin Login>Tools>Easy Populate 4
Same result: EP4 FATAL ERROR: No default language set.

Is there a quick fix like deleting a line out or editing a line in the easypopulate_4.php file? I only plan on using English.

So, I began looking at the code, EP4 has heavily used mysql_ type functions. ZC 1.5.3 transitions to mysqli_ type functions. The language issue is merely the first of many "errors" in the code under 1.5.3. While a better fix might be to use more of the ZC standard code/functions, I am making the changes to this program to maintain past compatibility and add compatibility with 1.5.3 and expct to push the changes to a github version later today. I have the core export functionality working, and am working on the import and then to take a look at the split module and lastly to look through the other files to see if there is any remnant of mysql_ type calls therein.

Alternatively, the entire code could be made 1.5.3 only, but there seems to be little reason to do this as it will only cause more forks in versions. Please have patience while this is being done, I understand the potential impact and am trying to work as quickly and soundly as possible on this.

14 Jul 2014, 1:17 AM
#1451
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

A version of EP4 compatible with ZC 1.5.3 has been uploaded to github: https://github.com/mc12345678/EasyPopulate-4.0

I will be requesting a pull of this to the version shown in post one of this site.

The direct download is: https://github.com/mc12345678/EasyPopulate-4.0/archive/master.zip

Please feel free to provide comments on the changes... Yes there are more improvements that could be made to the program; however, those are/will be made as necessary/able.

Modifications of this version, made it compatible with ZC 1.5.3 without losing capability with earlier versions of ZC (ie., did not reduce existing capability), added an additional option to the SBA detailed download/upload if the "appropriate" SBA is installed (Still need to update this functionality for other SBA programs), modified the sort order option assignment when performing a basic attribute upload so that the sequence is 1, 10, 20, 30, etc... upon upload (specifics can be modified in the detailed attribute functionality).

14 Jul 2014, 2:58 AM
#1452
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

EXCELLENT! That is a really fast 153 update!

Thank you very much for updating EP4, and for doing it so fast.

14 Jul 2014, 3:19 AM
#1453
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stiggybaby:

EXCELLENT! That is a really fast 153 update!

Thank you very much for updating EP4, and for doing it so fast.

Well, kinda came down to time is money. Either possibly have people walk away from this plugin due to lack of support or, try to see to it's continued survival. More than welcome, hopefully it doesn't need too much modification to suit your uses.

15 Jul 2014, 12:50 AM
#1454
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

The content at the link of the first post of this thread has been updated. (Ie, don't have to remember where that post about an update is found in the thread. :) just go to the beginning of the thread.) :) it's the same place it always was, just now with the recent changes incorporated.

15 Jul 2014, 3:22 PM
#1455
chadderuski avatar

chadderuski

Totally Zenned

Join Date:
Apr 2006
Location:
Dark Side of the Moon
Posts:
986
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

The latest version for 1.5.3 has been updated to 4.0.24 - 7-13-2014. This incorporates mc12345678's recent work.

Note that this version has not been tested with earlier versions of zencart (1.5.2,1.5.1, etc.). Standard importing appears to work fine.

However, I have just identified a error in the Attributes import. I am working on this now.... I recommend that you DO NOT attempt to import attributes until this is corrected.

-chadd

15 Jul 2014, 5:56 PM
#1456
chadderuski avatar

chadderuski

Totally Zenned

Join Date:
Apr 2006
Location:
Dark Side of the Moon
Posts:
986
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Bug found and fixed: Simple typo made while making this compatible with mysqli.

github has been updated. Lastest verison: 4.0.24 - Beta 7-15-2014

https://github.com/chaddro/EasyPopulate-4.0

-chadd

15 Jul 2014, 9:55 PM
#1457
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Bug found and fixed: Simple typo made while making this compatible with mysqli.

github has been updated. Lastest verison: 4.0.24 - Beta 7-15-2014

https://github.com/chaddro/EasyPopulate-4.0

-chadd

Yup, I missed a $ in the ep4_attributes.php file... Darnit. Thank you for your testing, identifying the error, and correcting it.

15 Jul 2014, 10:17 PM
#1458
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

mc12345678:

...Modifications of this version, made it compatible with ZC 1.5.3 without losing capability with earlier versions of ZC (ie., did not reduce existing capability)...

chadderuski:

The latest version for 1.5.3 has been updated to 4.0.24 - 7-13-2014... Note that this version has not been tested with earlier versions of zencart (1.5.2,1.5.1, etc.). Standard importing appears to work fine.

I went back to 1.5.1 for now until more plugins update to 1.5.3.

Please clarify that while the 4.0.24 7-13-14 version is 1.5.3 compatible, and untested for 1.5.1&0, it SHOULD be 1.5.1 compatible?

Thanks again

15 Jul 2014, 10:25 PM
#1459
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stiggybaby:

I went back to 1.5.1 for now until more plugins update to 1.5.3.

Please clarify that while the 4.0.24 7-13-14 version is 1.5.3 compatible, and untested for 1.5.1&0, it SHOULD be 1.5.1 compatible?

Thanks again

I can only say this: during the process of upgrading the functionality, I had to make changes to the code. As was pointed out, I made a mistake in not including a $ which is/was very important as that single character prevented the assignment of information to a variable on the ZC1.5.3 side. So.... There obviously is the possibility that in adding the additional code I made mistake on the "old" side (added an extra character or deleted something "minor". So... Without rigorous testing, one can claim that the software is not tested with previous versions. In addition, because so many have downloaded this program and visited this thread, making such a claim offers a level of protection. Lest we not all forget that this is still considered a Beta product and that backups are always suggested prior to uploading. :) (would like to incorporate an option to auto backup before each import, but haven't developed that yet.)

Additionally, I did not specifically test this on 1.5.2 and advised chadd of that fact, so that part if nothing else is completely true. It is/was untested with ZC 1.5.2.

15 Jul 2014, 10:34 PM
#1460
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Ok, thank you for the explaination.

Sorry, but 1 more question:

I now see that there is chaddro/EasyPopulate-4.0, and mc12345678/EasyPopulate-4.0. Chaddro mentions 4.0.24, but I just downloaded mc12345678/EasyPopulate-4.0 and noticed that it is 4.0.23.

Does the mc12345678/EasyPopulate-4.0.23 have the bug/typo?
Or is the mc12345678/EasyPopulate-4.0.23 the fixed version?