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

EasyPopulate 4.0 Support Thread

Sticky

Views: 733,333

Results 3,161 to 3,180 of 3,671
19 Jul 2020, 1:29 PM
#3161
mc12345678 avatar

mc12345678

Totally Zenned

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

EasyPopulate 4.0 Support Thread

jodean:

Is the current download for EasyPopulate 4.0 compatible with v157 Stock_By_Attributes?
If by current you mean the github version it is. The use of xxxx_en or similar language codes is not supported yet in all upload types. Use of xxx_1 is still recognized and would be recommended until published to the zen cart downloads section. Once complete, either method will be permitted including if the file had both listed (option to consider one or the other to override if both are present.)

15 Aug 2020, 4:32 PM
#3162
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: EasyPopulate 4.0 Support Thread

forgive me if I've had this issue before and have forgottent the answer. The zen cart installation is in a folder below a wordpress site in the root. The root htaccess is just the wp with no additions.

Easy populate creates the files in the admin folder correctly. But if you try to download a file, you are sent to the root index. No redirect showing in the url and the url is correct for the actual file/download. I have a version of easypopulate dated july of 2019. Will the github present version fix this issue or am I looking at an htaccess problem? Or can this not work in a folder?

17 Aug 2020, 10:59 AM
#3163
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

delia:

forgive me if I've had this issue before and have forgottent the answer. The zen cart installation is in a folder below a wordpress site in the root. The root htaccess is just the wp with no additions.

Easy populate creates the files in the admin folder correctly. But if you try to download a file, you are sent to the root index. No redirect showing in the url and the url is correct for the actual file/download. I have a version of easypopulate dated july of 2019. Will the github present version fix this issue or am I looking at an htaccess problem? Or can this not work in a folder?
Sorry for the delay in response, wanted to be sure to review the information associated with the download link generation.

First of all, the link for the download location was last updated 5 years ago to account for changes in Zen Cart 1.5.5. The link is assembled from information that has been made available as part of the load of Zen Cart (predominantly expected to be in YOUR_ADMIN/includes/configure.php; however, there may be overrride information loaded before that file) Before going into the logic, the question is what path is displayed (even if in the source code of the page) when hovering over the link for the download of a file? If it is a complete path to the same location to which EP4 is writing, then definitely the issue is .htaccess related in some way; however, that too is somewhat questionable.

So the path is generated like so as related to the above description that the temporary directory is assigned to be an admin related directory (EP4_ADMIN_TEMP_DIRECTORY === 'true')
Evaluate ENABLE_SSL_ADMIN, if it is assigned and set to 'true' then attempt to generate an https related url. As of ZC 1.5.5, HTTPS_SERVER was basically removed, but if it is present use it. If not present then use HTTP_SERVER (which in an https environment would be expected to begin with https:). Then because attempting to generate an https path, attempt to add on the web facing sub-folder associated with the admin directory (DIR_WS_HTTPS_ADMIN), which if it does not exist then add on DIR_WS_ADMIN.
Now if ENABLE_SSL_ADMIN !== 'true', then use: HTTP_SERVER . DIR_WS_ADMIN which may be an https: path.

Regardless the choice of ENABLE_SSL_ADMIN, the temporary directory and filename is to be appended to that. Now, if the associated DIR_WSXXXADMIN variable doesn't begin with slash, then it is possible that the path would be generated incorrectly. Or if the associated HTTPXXXSERVER constant also incorrectly ends with a slash a similar issue could occur. Then of course also if DIR_WS_HTTPS_ADMIN is defined but "shouldn't" be and it suggests some other location then that could be problematic.

Lastly as far as the files being located in some sort of folder off of either the catalog or the admin, yes it can. Note that more than likely an .htaccess file or revision to one would be necessary in that admin folder to support download of CSV files. Such a file is included in the download sub-folder: htaccess4AdminTempFolder. Note that the contents of that file are intended to support the download of just .csv and/or .txt files and should not on its own replace an existing .htaccess file but be merged to also support download of .csv/.txt files... Because the catalog is not provided an .htaccess file to limit access to particular files, a sub-folder generated off of the catalog does not require an .htaccess file in a default Zen Cart installation.

So again, I suspect that there is an htaccess rewrite issue that is diverting the download path if the problem is being seen only upon clicking the link. If the link is generated to be other than to the associated admin folder, then the problem is within the constants assigned during the load of Zen Cart. With additional information, I may be able to identify the issue, but I haven't had problems causing an alternate folder to be accessed when downloading.

17 Aug 2020, 7:08 PM
#3164
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: EasyPopulate 4.0 Support Thread

Definitely correct url to the file. The site shows page not found as the page title but displays the the word press installation with page not found which is just weird. I tried to edit the page not found to stay in that subfolder but it made no difference. I tried all sorts of things to change the wp code but so far nothing has worked. I agree (and my hosting agrees) that the problem must in the htaccess file in the root. I actually am beginning to believe there are other issues with WP. I didn't install it so no telling. Thanks!

17 Aug 2020, 11:54 PM
#3165
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

delia:

Definitely correct url to the file. The site shows page not found as the page title but displays the the word press installation with page not found which is just weird. I tried to edit the page not found to stay in that subfolder but it made no difference. I tried all sorts of things to change the wp code but so far nothing has worked. I agree (and my hosting agrees) that the problem must in the htaccess file in the root. I actually am beginning to believe there are other issues with WP. I didn't install it so no telling. Thanks!
The other part of it may relate to the a possible absence of the .htaccess file to permit download of the csv file(s). E.g. Thinking that if the download is not permitted that "an" error page is set to be presented and that page becomes the wp version as identified at the root. Potentially a number of ways to test. Obviously the admin directory is "accessible", but csv files are by default not on the exception list. Could modify the admin's htaccess to permit csv files and change the temp directory to just /. Then with a csv file located in that directory, download "should" be successful...

Could otherwise as permitted show/message the contents of the root .htaccess and I could at least take a look at that and maybe provide feedback.

2 Sep 2020, 4:33 PM
#3166
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: EasyPopulate 4.0 Support Thread

Easy Populate **** 4.0.37 (GitHub Newest) for Zen Cart 1.56c - Twitch Base6 now includes:

Product Base Cost: TRUE
Product Model Spoon: TRUE
Product Canada Post Weight Type: TRUE
Product Canada Post Dimension Type: TRUE
Product Canada Post Length: TRUE
Product Canada Post Width: TRUE
Product Canada Post Height: TRUE
Product Canada Post Ready To Ship: TRUE

Also included:
New one click export links along with custom import features for anyone using a store POS or similar business management tool exporting to .csv.

Twitch Wholesale integration will be available shortly.

17 Sep 2020, 10:48 PM
#3167
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: EasyPopulate 4.0 Support Thread

I am using a 1.5.7 site and installed this mod and have had horrendous results (from my customer).

It appears it is not recognizing the sub categories and dumping all products into the MAIN category which has the sub categories.

Upgraded from 1.5.0 and older version of EZP. Customer is very familiar with using EZP.

Chad - any help would be appreciated!

17 Sep 2020, 11:03 PM
#3168
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stellarweb:

I am using a 1.5.7 site and installed this mod and have had horrendous results (from my customer).

It appears it is not recognizing the sub categories and dumping all products into the MAIN category which has the sub categories.

Upgraded from 1.5.0 and older version of EZP. Customer is very familiar with using EZP.

Chad - any help would be appreciated!
When you say EZP are you referring to one of the other versions? There is an issue if one doesn't format the categories using the caret (^) or other self selected divider when importing categories... recommend providing an example row of data, ensuring following the instructions and lastly identifying the version currently being used/tried...

18 Sep 2020, 5:30 PM
#3169
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: EasyPopulate 4.0 Support Thread

Customer does not remember what version - and does not remember it saying V4 - just EZ Populate. It was an old 1.5.0 website.

HOpe this helps

status Arcos Manu Number Scan Number Name Jpeg File Cost Tubes Cost X3.5 Retail v_products_model v_products_image v_products_name_1 v_products_description_1 v_products_url_1 v_specials_price v_specials_date_avail v_specials_expires_date v_products_price v_products_weight v_product_is_call v_products_sort_order v_products_quantity_order_min v_products_quantity_order_units v_date_avail v_date_added v_products_quantity v_manufacturers_name v_categories_name_1 v_categories_name_2 v_categories_name_3 v_categories_name_4 v_categories_name_5 v_categories_name_6 v_tax_class_title v_status v_metatags_products_name_status v_metatags_title_status v_metatags_model_status v_metatags_price_status v_metatags_title_tagline_status v_metatags_title_1 v_metatags_keywords_1 v_metatags_description_1 1 ARC510-00030-01700 ARC510-00030-01700 790524056132 Silver Aluminum Matte ARC510-00030-01700.jpg 1.68 1 1.68 5.88 6.00 ARC510-00030-01700 /p-czech/ARC510-00030-01700.jpg Silver Aluminum Matte ARC510-00030-01700 6.00 0 0 20 1 1 10000 XXXX Beads: Seed-Czech Arcos - 2 hole Taxable Goods 1 0 0 0 0 0 1 ARC510-00030-01710 ARC510-00030-01710 790524056163 Light Gold Matte ARC510-00030-01710.jpg 1.68 1 1.68 5.88 6.00 ARC510-00030-01710 /p-czech/ARC510-00030-01710.jpg Light Gold Matte ARC510-00030-01710 6.00 0 0 30 1 1 10000 XXXX Beads: Seed-Czech Arcos - 2 hole Taxable Goods 1 0 0 0 0 0 1 ARC510-00030-01780 ARC510-00030-01780 790524056231 Copper Gold Matte ARC510-00030-01780.jpg 1.68 1 1.68 5.88 6.00 

mc12345678:

When you say EZP are you referring to one of the other versions? There is an issue if one doesn't format the categories using the caret (^) or other self selected divider when importing categories... recommend providing an example row of data, ensuring following the instructions and lastly identifying the version currently being used/tried...

18 Sep 2020, 5:52 PM
#3170
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

stellarweb:

Customer does not remember what version - and does not remember it saying V4 - just EZ Populate. It was an old 1.5.0 website.

HOpe this helps

status Arcos Manu Number Scan Number Name Jpeg File Cost Tubes Cost X3.5 Retail v_products_model v_products_image v_products_name_1 v_products_description_1 v_products_url_1 v_specials_price v_specials_date_avail v_specials_expires_date v_products_price v_products_weight v_product_is_call v_products_sort_order v_products_quantity_order_min v_products_quantity_order_units v_date_avail v_date_added v_products_quantity v_manufacturers_name v_categories_name_1 v_categories_name_2 v_categories_name_3 v_categories_name_4 v_categories_name_5 v_categories_name_6 v_tax_class_title v_status v_metatags_products_name_status v_metatags_title_status v_metatags_model_status v_metatags_price_status v_metatags_title_tagline_status v_metatags_title_1 v_metatags_keywords_1 v_metatags_description_1 1 ARC510-00030-01700 ARC510-00030-01700 790524056132 Silver Aluminum Matte ARC510-00030-01700.jpg 1.68 1 1.68 5.88 6.00 ARC510-00030-01700 /p-czech/ARC510-00030-01700.jpg Silver Aluminum Matte ARC510-00030-01700 6.00 0 0 20 1 1 10000 XXXX Beads: Seed-Czech Arcos - 2 hole Taxable Goods 1 0 0 0 0 0 1 ARC510-00030-01710 ARC510-00030-01710 790524056163 Light Gold Matte ARC510-00030-01710.jpg 1.68 1 1.68 5.88 6.00 ARC510-00030-01710 /p-czech/ARC510-00030-01710.jpg Light Gold Matte ARC510-00030-01710 6.00 0 0 30 1 1 10000 XXXX Beads: Seed-Czech Arcos - 2 hole Taxable Goods 1 0 0 0 0 0 1 ARC510-00030-01780 ARC510-00030-01780 790524056231 Copper Gold Matte ARC510-00030-01780.jpg 1.68 1 1.68 5.88 6.00


While the data doesn't come across well formatted, I see the indicators that I expected for it being an older/alternate EP...

In EP4 as discussed in the instructions, the suffix '_1', '_2', '_3', etc. relates to the language that is being used... In one or more of the older versions, v_categories_name_1 was the "parent" category, v_categories_name_2 was the first sub-category off of the parent, v_categories_name_3 was the first sub-sub-category, etc... 

In EP4 a specific sub-category would be generated by concatenating each of those (that have content) with the carat '^'...

So:

v_categories_name_1 v_categories_name_2 v_categories_name_3 v_categories_name_4 v_categories_name_5 v_categories_name_6
shirt long-sleeve no-buttons

for EP4 would be combined in a single field (v_categories_name_1 or (when using the most recent version) v_categories_name_en) to:
shirt^long-sleeve^no-buttons

Where the language_id for the store is 1... While not fully implemented across all import file types, the language_code is now supported to instead use '_en' as the suffix for English instead of the language_id (_1).

A way to accomplish that concatenation if the columns were say g, h, and i with the data starting in row2, then I would go to the next/last v_categories_name_X column, insert a new column, then use something like: 

=IF(G2<>"", G2, "") & IF(H2<>"", "^" & H2, "") & IF(I2<>"", "^" & I2, "")


Now of course I wouldn't expect that there would be a "series" of information followed by an empty space then another with data (say _1 and _3 having data, but _2 not having data)...

After I got the result, then I would copy that function down to the last row, then copy the contents in that column for all product and paste special that text into the appropriate column representing the language_id and delete the other v_categories_name_X columns including the one that was created to support this effort...

Basically, EP4 supports multiple languages which older types did not appear to do so and the categories/sub-categories are identified as between each ^.

This is also why it is important to not introduce spaces before/after each category. " shirt" is different than "shirt" and results in category creation/population to the "applicable" category....
20 Sep 2020, 7:23 PM
#3171
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
969
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

zen 1.56c with many modules
easy populate downloads one field funny, as in the data base (products_barcode varchar(32))
when i upload it back it uploads whats in the file.
tried to upload file but exceed quota, but here is some of what is in the file
v_products_barcode
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11

21 Sep 2020, 1:24 AM
#3172
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

jimmie:

zen 1.56c with many modules
easy populate downloads one field funny, as in the data base (products_barcode varchar(32))
when i upload it back it uploads whats in the file.
tried to upload file but exceed quota, but here is some of what is in the file
v_products_barcode
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
At some point in modifying the exported data, it appears that the spreadsheet being used stopped considering the text provided as text and started treating it like a number... it then considered the number to need to be displayed in exponential numbers... therefore when the spreadsheet was saved to a csv file, the file then contained exponential numbers...

This all happened outside of EP4 and specifically in the spreadsheet being used... you'll likely have to go back a few exports to find the original values that were brought into your spreadsheet program. In the future treat this field as a text field and don't let your spreadsheet program convert it to a number...

21 Sep 2020, 3:30 AM
#3173
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
969
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

my steps were, open ep, choose manufacturer, than export, than download to computer, than open in excel. than i copied some rows pasted them here.

21 Sep 2020, 6:15 AM
#3174
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

jimmie:

my steps were, open ep, choose manufacturer, than export, than download to computer, than open in excel. than i copied some rows pasted them here.

"Looking" at them in excel is why the numbers are converted to the scientific notation that was posted... Again, this is not something that was done in EP4. EP4 generates the CSV file that was downloaded. If it is looked at with your favorite plain text editor just after download and before ever being edited with Excel or Open Office then will see the number(s) in their entirety and not shortened.

There are plenty of ways to request that numbers be treated as text when either importing a file or reviewing the content.

6 Oct 2020, 6:11 PM
#3175
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

v_products_barcode
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11
7.34995E+11

Jimme,

I had the same issue with UPC codes, it's a pain.

Here is how I solved it.

I added UPC before every code in the database, so instead of this -> 697666007421 in the db it was this -> UPC697666007421

Then i used php to remove the UPC when it's displayed on the front end.

str_replace("UPC","",$upc['products_upc'])

It's a workaround but solves that issue.

6 Oct 2020, 6:20 PM
#3176
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: EasyPopulate 4.0 Support Thread

In Excel, to "format number fields as text instead of scientific notation", select the entire column, press CTRL+1 (or CMD+1) and change the format to Text

https://www.excelhow.net/convert-scientific-notation-to-text-or-a-number-in-excel.html
https://www.extendoffice.com/documents/excel/1725-excel-convert-scientific-notation-to-text.html

7 Nov 2020, 11:09 PM
#3177
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Hello, I'd like to make sure that this plugin fits my use case before proceeding.

We have existing categories on our ZC 1.5.5e site, to which we need to add 125 or more products. Do I understand that with this plugin, I can put the 125 products into an appropriately formated / column header CSV, and mass import my products in one operation? Thus avoiding the tedious GUI of creating 125 products. Thanks for clarifying.

8 Nov 2020, 12:30 AM
#3178
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: EasyPopulate 4.0 Support Thread

greg_beyer:

Hello, I'd like to make sure that this plugin fits my use case before proceeding.

We have existing categories on our ZC 1.5.5e site, to which we need to add 125 or more products. Do I understand that with this plugin, I can put the 125 products into an appropriately formated / column header CSV, and mass import my products in one operation? Thus avoiding the tedious GUI of creating 125 products. Thanks for clarifying.
Absolutely correct. Suggest exporting product from that category (if at least one is already present) to make a good example of how it should look when preparing the new upload. (remember that the csv file has a different appearance than that content loaded into a spreadsheet.)

18 Dec 2020, 1:26 AM
#3179
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

Is it possible to use UPC field instead of model field to update products using easy populate. If yes what change we need to make in files?

18 Dec 2020, 2:20 AM
#3180
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: EasyPopulate 4.0 Support Thread

chadderuski:

Read this about Product URL:

http://www.zen-cart.com/showthread.php?82957-What-is-Products-Url

Not what you'd expect.

I am working on an update that export a products cpath (what you normally see when you're on a product page), I will have to do some research to see what Conor did in his URI mapping mod, but I think he uses some of his own tables and core modifications....

-chadd

I see you have completed the export CEON URI feature. Is it possible to import CEON URI using EP when adding new products?