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

EasyPopulate 4.0 Support Thread

Sticky

Views: 733,116

Results 201 to 220 of 3,671
23 Mar 2012, 00:48
#201
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

EasyPopulate 4.0 Support Thread

chadderuski:

That's some good news. Which version of excel are you using and which csv export? I have not had the time to test ALL the versions/platforms to ensure compatibility.

My Office Program is 2007, don't know if that helps. Otherwise, I don't know what Excel I'm using.

sph
https://www.prommart.com
https://www.fashion-mart.biz

23 Mar 2012, 11:16
#202
micmed avatar

micmed

Zen Follower

Join Date:
Mar 2008
Location:
The Free South
Posts:
165
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I am using Excel V14 from Office 2010 and CSV works fine.

24 Mar 2012, 06:39
#203
amirshawn80 avatar

amirshawn80

New Zenner

Join Date:
Jun 2010
Posts:
27
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hi,

I just installed the latest version of ep 4.0. I have a bunch of custom product fields, most are in the products table except for the second description which is in the description table. I had the old easy populate working for inputting the data and I'd like to get that working with the new EP, I saw the post on page 5, but I didn't really understand. I was wondering if you could explain in more detail how to add extra fields. Thank you for your help.

25 Mar 2012, 06:35
#204
kendamnit avatar

kendamnit

New Zenner

Join Date:
Mar 2012
Posts:
1
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I install Easy Populate successfully. But when i click download it redirect me to admin login page. Every link in the Easy Populate page is linked to login.

I don't know why. Please help me. Thank you

26 Mar 2012, 09:45
#205
igi2011 avatar

igi2011

New Zenner

Join Date:
Oct 2011
Location:
Kent, UK
Posts:
50
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

amirshawn80:

Hi,

I just installed the latest version of ep 4.0. I have a bunch of custom product fields, most are in the products table except for the second description which is in the description table. I had the old easy populate working for inputting the data and I'd like to get that working with the new EP, I saw the post on page 5, but I didn't really understand. I was wondering if you could explain in more detail how to add extra fields. Thank you for your help.

OK here's how I did it - my example shows the field I wanted to add (products_family), obviously yours will be different :)

There are three files to edit:
YOUR-ADMIN-FOLDER/includes/functions/extra_functions/easypopulate_4_functions.php
YOUR-ADMIN-FOLDER/easypopulate_4.php
and YOUR-ADMIN-FOLDER/easypopulate_4_import.php

You're using the existing 'upc' field each time to create a new product field.

Firstly open YOUR-ADMIN-FOLDER/includes/functions/extra_functions/easypopulate_4_functions.php. Search for

if ($ep_supported_mods['upc'] == true) { // UPC Mod
$filelayout[] = 'v_products_upc';
}

Now make a copy of this code directly underneath and change this to

if ($ep_supported_mods['family'] == true) { // Products Family Mod
$filelayout[] = 'v_products_family';
}

so you now have

if ($ep_supported_mods['upc'] == true) { // UPC Mod
$filelayout[] = 'v_products_upc';
}
if ($ep_supported_mods['family'] == true) { // Products Family Mod
$filelayout[] = 'v_products_family';
}

Now find the following a few lines further down:

if ($ep_supported_mods['upc'] == true) { // UPC Code mod
$filelayout_sql .= 'p.products_upc as v_products_upc,';
}

Copy this chunk of code and change as before, so you now have:

if ($ep_supported_mods['upc'] == true) { // UPC Code mod
$filelayout_sql .= 'p.products_upc as v_products_upc,';
}
if ($ep_supported_mods['family'] == true) { // Products Family mod
$filelayout_sql .= 'p.products_family as v_products_family,';
}

Now open YOUR-ADMIN-FOLDER/easypopulate_4.php and search for 'upc' again - around line 90

$ep_supported_mods['upc'] = ep_4_check_table_column(TABLE_PRODUCTS,'products_upc'); // upc = UPC Code, added by Chadd

Make a copy so you now have

$ep_supported_mods['upc'] = ep_4_check_table_column(TABLE_PRODUCTS,'products_upc'); // upc = UPC Code, added by Chadd
$ep_supported_mods['family'] = ep_4_check_table_column(TABLE_PRODUCTS,'products_family'); // Products Family

Finally open YOUR-ADMIN-FOLDER/easypopulate_4_import.php and search for 'upc' again, there are four edits to make here, here's what mine looks like with the 'family' fields added (the line numbers may be slightly out)

Line 26:
if ($ep_supported_mods['upc'] == true) { // UPC Code mod - chadd
$default_these[] = 'v_products_upc';
}
if ($ep_supported_mods['family'] == true) { // UPC Code mod - chadd
$default_these[] = 'v_products_family';
}

Line 150:
if ($ep_supported_mods['upc'] == true) { // UPC Code mod- chadd
$sql .= 'p.products_upc as v_products_upc,';
}
if ($ep_supported_mods['family'] == true) { // products_family
$sql .= 'p.products_family as v_products_family,';
}

Line 594:
if ($ep_supported_mods['upc'] == true) { // UPC Code mod
$query .= "products_upc = '".addslashes($v_products_upc)."',";
}
if ($ep_supported_mods['family'] == true) { // products_family
$query .= "products_family = '".addslashes($v_products_family)."',";
}

Line 660:
if ($ep_supported_mods['upc'] == true) { // UPC Code mod
$query .= "products_upc = '".addslashes($v_products_upc)."',";
}
if ($ep_supported_mods['family'] == true) { // family
$query .= "products_family = '".addslashes($v_products_family)."',";
}

Hope this helps - this should work for the fields in the products table, but it might need a bit of tweaking for the field you have in the description table (not sure myself as I haven't tried it)

26 Mar 2012, 10:10
#206
cybagirl avatar

cybagirl

Zen Follower

Join Date:
Jul 2009
Posts:
119
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

That's some good news. Which version of excel are you using and which csv export? I have not had the time to test ALL the versions/platforms to ensure compatibility.

Just installed EP 4.0 into my test cart and I am thrilled with it. It's FANTASTIC and is going to save so much time. I especially love the ability to be able to choose which categories to export from and this is an outstanding feature of it. I'm also using Microsft Excel 2007 with SP2 in case anyone is interested.

Now all I have to do is tidy up the csv template I created and then I can install it to one of my live sites.

Thanks so much for creating it Chadderuski you've done a fantastic job!

:smartalec:

:clap:

26 Mar 2012, 20:48
#207
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

kendamnit:

I install Easy Populate successfully. But when i click download it redirect me to admin login page. Every link in the Easy Populate page is linked to login.

I don't know why. Please help me. Thank you

Ken,

Scroll back a few pages for more detailed info. Basically, you have something strange in your config file. Look at your url when you login to your admin.
If you see something like this:

http://www.yourstore.com//admin/easypopulate_4.php

See that second pair of forward slashes? That is wrong. It needs to be one forward slash. This seems to happen with some cpanel auto installers.

-chadd

26 Mar 2012, 20:49
#208
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

igi2011,

THANKS FOR THE ASSIST!

-chadd

27 Mar 2012, 08:42
#209
igi2011 avatar

igi2011

New Zenner

Join Date:
Oct 2011
Location:
Kent, UK
Posts:
50
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

No problem chadd, happy to help !

Lee

27 Mar 2012, 11:14
#210
tedm avatar

tedm

New Zenner

Join Date:
Mar 2012
Posts:
13
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hi everyone,
I'm new to both eCommerce and Zen Cart so I'm making a few mistakes but getting there slowly.
I'm using [the very wonderful] Easy Populate 4 with my Zen Cart 1.5 install to add/update about 1600 products to my fledgling site.
All is good so far but I've come across an issue that I'm sure is user error but I could do with some advice.
My products are clothes so I want to upload size and colour options for each product.

I've got two csv files (one for sizes and the other for colours) in the following format:
"v_products_model","Colours","v_products_options_type","v_products_options_values_name","EOREOR"
"AD009","Colours","0","Black,Coast (Light Blue),Navy,University Red,White","EOREOR"
"AD012","Colours","0","Black,Navy,Red,White","EOREOR"
"AD013","Colours","0","Black/White*,Coast/White,Navy/White*,Neon/Precinct,Pirahna/White,Precinct/White,White/Black*","EOREOR"

and
"v_products_model","v_products_options_values_name","v_products_options_type","v_products_options_values_name","EOREOR"
"AD009","Sizes","0","2XL,L,M,S,XL","EOREOR"
"AD012","Sizes","0","2XL,L,M,S,XL","EOREOR"
"AD013","Sizes","0","2XL,L,M,S,XL","EOREOR"

Now I realised too late that the first line of my colours file read:
"v_products_model","Colours"
instead of
"v_products_model","v_products_options_values_name"

but the colours showed just fine on the product page, but when I imported the Sizes file all the size information was added to the Colour information in the same dropdown box. :huh:

I had not entered anything regarding options via the Zen Cart config and was expecting EP to do all this for me.
So firstly, what have I done wrong to cause this error and secondly how can I delete all the imported options data and start again?

Thanks in advance.

27 Mar 2012, 18:35
#211
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hi Chad,

Products in my store are priced by attributes. I have installed your ep (which is fantastic) however when I try to upload new prices using Attrib-Full, it says products updated but when i check prices nothing has changed?

Is this feature not supported as yet? If not, do you know if the split files created using your version can be used in previous versions?

27 Mar 2012, 20:19
#212
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

moesoap:

Hi Chad,

Products in my store are priced by attributes. I have installed your ep (which is fantastic) however when I try to upload new prices using Attrib-Full, it says products updated but when i check prices nothing has changed?

Is this feature not supported as yet? If not, do you know if the split files created using your version can be used in previous versions?

Hiya Moesoap!

There is only a basic attribute at this time. File name must start with "Attrib-EP", and only the columns in the examples directory are valid. The Export for Attributes DO NOT IMPORT as noted (yet, I'm working on this but have been inundated with work).

Once I get the Import > Export > Import "round robin" working (meaning the same file imported can be exported, edited, them re-imported), I'll be able to expand functionality like attribute pricing.

Sorry I don't have a better answer for you yet.

chadd

27 Mar 2012, 20:29
#213
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

tedm:

Hi everyone,
I'm new to both eCommerce and Zen Cart so I'm making a few mistakes but getting there slowly.
I'm using [the very wonderful] Easy Populate 4 with my Zen Cart 1.5 install to add/update about 1600 products to my fledgling site.
All is good so far but I've come across an issue that I'm sure is user error but I could do with some advice.
My products are clothes so I want to upload size and colour options for each product.
....
but the colours showed just fine on the product page, but when I imported the Sizes file all the size information was added to the Colour information in the same dropdown box. :huh:

I had not entered anything regarding options via the Zen Cart config and was expecting EP to do all this for me.
So firstly, what have I done wrong to cause this error and secondly how can I delete all the imported options data and start again?

Thanks in advance.

Hi Tedm!

You don't have to use two files to add multiple attributes to your products! These can be done one after the other for each model number.

As for figuring out what is wrong with your data files, it would be better if you ATTACHED a portion of each file so that I can see the structure.

ALSO >>> you DO NOT need EOREOR with EP4!

Did you install the MySQL Backup Mod? It is best practice to install this and make a backup before each import so you can roll the databases back if you encounter an error. Also... It is best practice to first work with a FEW records at a time, then once you are confident, the entire database.
Did you carefully read the README.txt file? I explain the attribute import in some detail there.

-Chadd

27 Mar 2012, 22:52
#214
vwaltz avatar

vwaltz

New Zenner

Join Date:
Mar 2012
Posts:
7
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

I'm having a problem loading products. This is the error I am getting:

No model field in record. This line was not imported12/640 PS" |

I'm using zencart 1.3.9
Easy Populate 4

I have unique models. so this is strange. The file is tab deliminated from Open Office.

27 Mar 2012, 22:54
#215
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

vwaltz:

I'm having a problem loading products. This is the error I am getting:

No model field in record. This line was not imported12/640 PS" |

I'm using zencart 1.3.9
Easy Populate 4

I have unique models. so this is strange. The file is tab deliminated from Open Office.

If you could attach a portion of the csv with headers it will help to diagnose what is going on.

28 Mar 2012, 06:42
#216
tedm avatar

tedm

New Zenner

Join Date:
Mar 2012
Posts:
13
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hi Chad,
That data I put in the above post was extracted from the two cvs files I used

I did read the readme but I don't think there's anything about importing more than one option type (I.e. sizes and colors) in a single file, which was why I used two files.

So to import two sets of options should I simply repeat the data on the same line, e.g. "v_products_model","v_products_options_values_name","v_products_options_type","v _products_options_values_name",""v_products_model","v_products_options_values_name","v_products_options_type","v _products_options_values_name"?

28 Mar 2012, 10:15
#217
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Hiya Moesoap!

There is only a basic attribute at this time. File name must start with "Attrib-EP", and only the columns in the examples directory are valid. The Export for Attributes DO NOT IMPORT as noted (yet, I'm working on this but have been inundated with work).

Once I get the Import > Export > Import "round robin" working (meaning the same file imported can be exported, edited, them re-imported), I'll be able to expand functionality like attribute pricing.

Sorry I don't have a better answer for you yet.

chadd

I look forward to it Chadd. Thanks for taking the time to create this addon. It looks great and will solve many of the problems that people face with Zen.

:hug:

28 Mar 2012, 13:25
#218
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

tedm:

Hi Chad,
That data I put in the above post was extracted from the two cvs files I used

I did read the readme but I don't think there's anything about importing more than one option type (I.e. sizes and colors) in a single file, which was why I used two files.

So to import two sets of options should I simply repeat the data on the same line, e.g. "v_products_model","v_products_options_values_name","v_products_options_type","v _products_options_values_name",""v_products_model","v_products_options_values_name","v_products_options_type","v _products_options_values_name"?

Hi Ted,

No, one record per line. You would like the SAME model number twice, but the second one will have the different options/values.

Your headers look wrong to me. That is why I prefer the attached file. I had one person that had a space after a header name that was breaking his import. Notice that you use v_products_options_values_name twice. This is wrong.

From my example file:
"v_products_model","v_products_options_name","v_products_options_type","v_products_options_values_name"
"Widget","Color",0,"red,green,blue"
"Widget","Size",0,"S,M,L,XL"

First Color will be added, then Size for the same products_model number "Widget" (which must be unique to your store).

Hope this gets you one the right tray.

28 Mar 2012, 16:34
#219
vwaltz avatar

vwaltz

New Zenner

Join Date:
Mar 2012
Posts:
7
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hello,
I opened this file in notepad for copynpaste here.

"v_products_model" "v_categories_name_1"
"M4683G/A" "Toner-MONO^APPLE"
"M2473G/A" "Toner-MONO^APPLE"
"M2473G/A Extended" "Toner-MONO^APPLE"
"C3900A" "Toner-MONO^APPLE"
"DR400" "Toner-MONO^BROTHER"
"DR350" "Toner-MONO^BROTHER"

The above gave me the following when I imported the .csv file created with save as from open office:

Import Results

Filename: Category-EP2012Mar27-174859.csv

No model field in record. This line was not imported
No model field in record. This line was not imported
No model field in record. This line was not imported
No model field in record. This line was not imported

28 Mar 2012, 16:41
#220
tedm avatar

tedm

New Zenner

Join Date:
Mar 2012
Posts:
13
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Hi Ted,

No, one record per line. You would like the SAME model number twice, but the second one will have the different options/values.

Your headers look wrong to me. That is why I prefer the attached file. I had one person that had a space after a header name that was breaking his import. Notice that you use v_products_options_values_name twice. This is wrong.

From my example file:
"v_products_model","v_products_options_name","v_products_options_type","v_products_options_values_name"
"Widget","Color",0,"red,green,blue"
"Widget","Size",0,"S,M,L,XL"

First Color will be added, then Size for the same products_model number "Widget" (which must be unique to your store).

Hope this gets you one the right tray.
OK nice one.... thanks for your help :D