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

EasyPopulate 4.0 Support Thread

Sticky

Views: 733,304

Results 481 to 500 of 3,671
11 Jul 2012, 6:13 PM
#481
chadderuski avatar

chadderuski

Totally Zenned

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

EasyPopulate 4.0 Support Thread

songseng:

Yes it's EP4 4.0.22 Beta.
BUT:
-I wasn't able to see User Defined Fields set to "True" if detected or "False" if not. I'm looking into Configuration > Easy Populate 4 > User Defined Products Fields. It's still showing the 'products_family' as I filled in before.
-After the Upload, the product family field is still Not updated.

Songseng:

In Tools -> Easy Populate 4 on the right-hand side where the info columns are will be an entry for user defined fields. This is
where you will see True/False next to your field name.

You are probably missing something simple. Send me a pm and I'll take a look at your CSV file off site.

-chadd

12 Jul 2012, 11:27 AM
#482
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Greetings;

Just wondering if we have had a chances to look at the date issue, know why it happened and what we need to do to fix it...

Thanks

12 Jul 2012, 12:44 PM
#483
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

Darkwander:

Greetings;

Just wondering if we have had a chances to look at the date issue, know why it happened and what we need to do to fix it...

Thanks

Sorry, I have not. I am rather swamped right now too, so I don't know when I'll get a chance to dive into it....

14 Jul 2012, 5:41 PM
#484
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Hi!

Unfortunately there is no MOVE functionality in EP4. You will have to manually move them from within the admin to achieve what you want working as you are.

Has anyone found a workaround for this? I've got hundreds of products that I need to be moved from a 'new items' type category to their real categories and needless to say, doing it in bulk would be much faster. :)

16 Jul 2012, 3:42 AM
#485
awhfy99 avatar

awhfy99

Zen Follower

Join Date:
Feb 2007
Location:
Burleson. Texas
Posts:
196
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Boggled:

Has anyone found a workaround for this? I've got hundreds of products that I need to be moved from a 'new items' type category to their real categories and needless to say, doing it in bulk would be much faster. :)

What I do in this situation is to delete them and then reinsert to the correct category(s).

Download the ones to be moved and change the status to 9 and upload. This will delete the product and the image. If you change the image folder name first, then the images should be left untouched.

Change the target folders and the status back to 1 (and rename the image folder back to what it was) and you will be done.

I would try a test product first and be sure to backup your db.

16 Jul 2012, 7:33 PM
#486
homebre avatar

homebre

New Zenner

Join Date:
Jun 2012
Location:
Fitchburg, MA
Posts:
13
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I installed EP, but I don't get any EP options under Tools or Configuration. I had to use ' ?langer=install ' to install EP.

I checked all files against the package three times and they are all there (plus several more that were added during the install). I've installed/downloaded all files into the tempEP folder (screen shot at bottom)

The only way I can get to the function is to call the php file in the browser:

Attachment 10806

I installed from a Mac (OS 10.6.8), although the server is Linux. Do I still need to uncomment the configuration variables, and if so, which section? I'm thinking it's the block below:

/* put below
@set_time_limit(1200);
@ini_set('max_input_time','1200');
//*/

Here's the code for the entire block.
##########################################################################################################################################################################

//*******************************
//*******************************
// C O N F I G U R A T I O N
// V A R I A B L E S
//*******************************
//*******************************

//CSV VARIABLES
$csv_deliminator = ","; // "\t" for tab
$csv_enclosure = '"'; //if want none, change to space.

/* put below
@set_time_limit(1200);
@ini_set('max_input_time','1200');
//*/
/**

  • Advanced Smart Tags - activated/de-activated in Zencart Admin
    */
    ##########################################################################################################################################################################

Contents of tempEP folder:

Attachment 10807

17 Jul 2012, 3:41 AM
#487
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

homebre:

I installed EP, but I don't get any EP options under Tools or Configuration. I had to use ' ?langer=install ' to install EP.

I checked all files against the package three times and they are all there (plus several more that were added during the install). I've installed/downloaded all files into the tempEP folder (screen shot at bottom)

Homebre,

Sorry, this is not my version of EasyPopulate that you have installed. I am no longer helping to support the other version, sorry.

-chadd

18 Jul 2012, 12:53 AM
#488
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

how to make a deafult value for fields such as
v_products_quantity_order_min

i don't want to fill it evertytime.

18 Jul 2012, 2:14 PM
#489
kezerb avatar

kezerb

New Zenner

Join Date:
Sep 2008
Posts:
46
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I've installed the mod and got the normal errors:
Easy Populate "Uploads Folder" missing!
Your uploads folder is missing. Your configuration indicates that your uploads folder is named EASYPOPULATE_4_CONFIG_TEMP_DIR/, and is located in /home/t14dark/public_html/.
Easy Populate Configuration Missing. Please install your configuration by clicking Install EP4

But when I click the Install EP4 link I get the error WARNING: An Error occurred, please refresh the page and try again.

Help please?

18 Jul 2012, 4:40 PM
#490
homebre avatar

homebre

New Zenner

Join Date:
Jun 2012
Location:
Fitchburg, MA
Posts:
13
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Which version are you supporting? The one listed at the start of the thread? https://github.com/chaddro/EasyPopulate-4.0 ??

18 Jul 2012, 4:42 PM
#491
kezerb avatar

kezerb

New Zenner

Join Date:
Sep 2008
Posts:
46
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Yes, I downloaded it about 12 hours ago so I think it's the latest updated version

18 Jul 2012, 5:19 PM
#492
kezerb avatar

kezerb

New Zenner

Join Date:
Sep 2008
Posts:
46
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I'm not entirely sure how I fixed it but I deleted ALL easy populate files from EP4 and previous versions as well and re installed. It's now working

18 Jul 2012, 6:18 PM
#493
kezerb avatar

kezerb

New Zenner

Join Date:
Sep 2008
Posts:
46
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Sorry blonde moment, delete this post please

18 Jul 2012, 7:09 PM
#494
homebre avatar

homebre

New Zenner

Join Date:
Jun 2012
Location:
Fitchburg, MA
Posts:
13
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Homebre,

Sorry, this is not my version of EasyPopulate that you have installed. I am no longer helping to support the other version, sorry.

-chadd

Reposted, in case it wasn't obvious who I was talking to:

Chadd,

Which version are you supporting? The one listed at the start of the thread? https://github.com/chaddro/EasyPopulate-4.0 ??

19 Jul 2012, 1:51 PM
#495
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Sorry, I have not. I am rather swamped right now too, so I don't know when I'll get a chance to dive into it....

Hey Chad, i had a play with this today, it seems that if we change the dates in the easy populate file to American (M/D/Y) it seems to upload fine, regardless of what the settings say, i am guessing it isnt pullling the date order from the options or something..

19 Jul 2012, 4:13 PM
#496
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

homebre:

Reposted, in case it wasn't obvious who I was talking to:

Chadd,

Which version are you supporting? The one listed at the start of the thread? https://github.com/chaddro/EasyPopulate-4.0 ??

Yes, EasyPopulate 4.0 ... 4.0 is my re-written version. There are other version from other programmers/modders, but this thread in only for my 4.0 version currently only available at GITHUB because I'm still in beta ... once EP4 exits beta I will submit to the zencart team.

-chadd

19 Jul 2012, 4:17 PM
#497
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

Darkwander:

Hey Chad, i had a play with this today, it seems that if we change the dates in the easy populate file to American (M/D/Y) it seems to upload fine, regardless of what the settings say, i am guessing it isnt pullling the date order from the options or something..

Ya know, it's been some time since I fiddled with that code. There was a LOT of funkiness with the date handling code and I MAY have just standardized it and said "to hell" with the configuration settings! Opps :p Sorry if it's created any confusion!

-chadd

19 Jul 2012, 4:36 PM
#498
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Ya know, it's been some time since I fiddled with that code. There was a LOT of funkiness with the date handling code and I MAY have just standardized it and said "to hell" with the configuration settings! Opps :p Sorry if it's created any confusion!

-chadd

Err no biggy mate, at least we know what is going on and how to temp fix the problem. You planning on taking another look later down the track or should I set file maker to export as American date for the time been... Rlol

19 Jul 2012, 4:45 PM
#499
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

homebre:

Which version are you supporting? The one listed at the start of the thread? https://github.com/chaddro/EasyPopulate-4.0 ??

Well, it could be weeks, or a couple months before I get free time to fix this (and some other minor things). So don't wait on me for now. But your work is appreciated, and I should review this code carefully before exiting beta.

Thanks!
chadd

20 Jul 2012, 4:49 PM
#500
reetp avatar

reetp

New Zenner

Join Date:
Nov 2008
Posts:
46
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

One small point that I have come across which has caused me no end of pain ! I have had a look for solutions but haven't noticed anything relevant.

I had a piece of code to extract required fields from an XML file and write them to a CSV file for import.

I was originally using fputcsv for this but I discovered that it has a mind of it's own when deciding what fields to use quote marks and not.

I have now had to go the long way round and use fput and some jiggling to make sure each field is written with quote marks.

Is there any real reason why quote marks are needed ??

For anyone interested, here is how I did it. I used some other code I found online and modified it slightly. I don't guarantee that it will be perfect but it does seem to work. Should have more error checking.

function sendCSV($data_array, $enclosure, $field_sep, $record_sep)
{

	dumbescape(false, $enclosure);
	$data_array=array_map('dumbescape',$data_array);
	//return
	$uploadFile = "output" . (12*1024*1024) . ".csv";
	$file = fopen($uploadFile, 'a+');
	fputs($file, $enclosure	. implode($enclosure . $field_sep . $enclosure, $data_array) . $enclosure . $record_sep);
	fclose($file);
}

function dumbescape($in, $enclosure=false)
{
	static $enc;
	if ($enclosure===false) {
		return str_replace($enc, '\\' . $enc, $in);
	}
	$enc=$enclosure;
}

Then

sendCSV($my_array,  '"',  ','  ,  "\n");

I know it is probably slow (and a lot slower than fputcsv) but this will give correctly formatted CSV for EP 4. Any suggestions on improving this would be gratefully appreciated :-)

If anyone wants more info on how I got the fields out of XML then I can post the rest. Again, it's not professional (because I'm not a professional !) but it works for me.

B. Rgds
John