Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Easy Populate not working

This is a discussion on Easy Populate not working within the Store Administration forums, part of the osCmax V2.5 Forums category; I am trying to use EasyPopulate but it didn't work. I created a file with the Catalog > EasyPopulate and ...

      
  1. #1
    New Member
    Join Date
    May 2011
    Posts
    14
    Rep Power
    0


    Arrow Easy Populate not working

    I am trying to use EasyPopulate but it didn't work.

    I created a file with the Catalog > EasyPopulate and used the Export EP or Froogle Products File option.

    The file created was:EP2012Jun16-2109.csv and is is stored in www.mystore.com/catalog/backups.

    Then I uploaded this file with Upload and Import EP File option and I get many messages like this:

    No products_model field in record. This line was not imported: | AABox Web Hosting | Web Hosting for the 21st centrury | SOL-50 LA- | 50 Plat | 290 | AABox Web Hosting | Web Hosting for the 21st centrury | HWS-50-75 | 10 | Heat Exhan | 2012-07-16 | USD

    I have all my directories and files permissions set to 777.

    What did I do wrong?

    Thank you.

    PS. I don't have a file www.mystore.com/allprods.php in my system according to the manual.

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,122
    Rep Power
    55


    Default Re: Easy Populate not working

    Do you have model references for all your products?

    Without them EasyPopulate will not work ... it should tell you when you open the easypopulate page in admin in a red warning box.

    You shouldn't need to change you directory permissions as it is posting data in to the database not the directory structure.

    Otherwise ... are you using a mac and excel? There is sometimes an issue with the .csv format used and I have to use OpenOffice (which is free) to get compatible .csv files to upload.

    Regards,
    pgmarshall
    _______________________________

  3. #3
    New Member
    Join Date
    May 2011
    Posts
    14
    Rep Power
    0


    Arrow Re: Easy Populate not working

    Thank for your reply.

    Quote Originally Posted by pgmarshall View Post
    Do you have model references for all your products?
    You mention if I have all model references of all products: do you mean if I have the products images in the www.mystore.com/images/products directory?
    If so, yes.
    All I did was to write a file with Export EP or Froogle Products File option (EP2012Jun16-2109.csv) and read it back with Upload and Import EP File option. I didn't do any editing to the Catalog > Categories / Products and to the csv file.


    Without them EasyPopulate will not work ... it should tell you when you open the easypopulate page in admin in a red warning box.
    I don't see red warnings or any warni

    Otherwise ... are you using a mac and excel? There is sometimes an issue with the .csv format used and I have to use OpenOffice (which is free) to get compatible .csv files to upload.
    I also use OpenOffice within Ubuntu 10.10.

    Thank you again.

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,122
    Rep Power
    55


    Default Re: Easy Populate not working

    Model references - I don't mean images - I mean the field marked Ref/Model when you edit a product. Without a unique value for each of your products in this field easy populate will not work.
    pgmarshall
    _______________________________

  5. #5
    New Member
    Join Date
    May 2011
    Posts
    14
    Rep Power
    0


    Arrow Re: Easy Populate not working

    Quote Originally Posted by pgmarshall View Post
    Model references - I don't mean images - I mean the field marked Ref/Model when you edit a product.
    pgmarshall,

    Yes I do have unique Ref/Model names; letters mixed with number such as HWS20-58.

    All I did was to export EP and inport EP. I didn't even open the csv file, however I did open the file now and I notice some strange thing about a csv file. Please see to first and second lines of the csv file below.
    I don't see tabs but I see comas (,) and the columns begin and end with double quotes ("link") and the line ends with "EOREOR"
    I wonder if the comas must be tabs and if it is so how do I set oscmax EP to write the csv file with tabs.

    "link","title","description","price","image_link", "id","quantity","product_type","expiration_date"," currency","EOREOR"

    "http://www.mysite.com/product_info.php?products_id=1&language=1",""" Split Pressure Heater""","""Co-axial Tube with Copper Pipe. 20 tubes 6' x 2 1/4" (1.80 m x 5.8 cm). Included aluminium frame.""",899.89,"http://www.mysite.com/images/products/1.jpg","HWS20-58",10,"Pressure Heater","2012-07-18","USD","EOREOR"

    Thank you.

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,122
    Rep Power
    55


    Default Re: Easy Populate not working

    Thanks for the example - this may have solved your issue. You have got a ' in your description which is unescaped ... So easypopulate is reading 'Co-axial Tube with Copper Pipe. 20 tubes 6' as one field then expecting a , however in your file it gets x hence the issue.

    Can you check this as they should be replaced with &quot ; or be escaped using \. Check your product descriptions for " ' which have not been escaped.

    Regards,


    pgmarshall
    _______________________________

  7. #7
    New Member
    Join Date
    May 2011
    Posts
    14
    Rep Power
    0


    Arrow Re: Easy Populate not working

    Quote Originally Posted by pgmarshall View Post
    Thanks for the example - this may have solved your issue. You have got a ' in your description which is unescaped ... So easypopulate is reading 'Co-axial Tube with Copper Pipe. 20 tubes 6' as one field then expecting a , however in your file it gets x hence the issue.
    pgmarshall,

    Thank you for spotting the issue with the single quote. The 6' is a short hand for 6 feet. In my product description I have lots of single quotes representing feet, so I have to edit them out.
    Hopefully this will work.
    BTW ln my system the oscMax2.5 easypopulate writes a comma as a delimiter instead of a tab, is there something that I have to set-up so it writes a tabs?

    Again, thank you for your help. I will post the results as soon as it.

    Regards.

  8. #8
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,122
    Rep Power
    55


    Default Re: Easy Populate not working

    It always uses a comma - Excel and other programs know to switch these in to columns.

    Try a couple of products and export just one category and check it works before going through all your products ...

    Regards.
    pgmarshall
    _______________________________

  9. #9
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,368
    Rep Power
    57


    Exclamation Re: Easy Populate not working

    Quote Originally Posted by pgmarshall View Post
    It always uses a comma - Excel and other programs know to switch these in to columns.

    Try a couple of products and export just one category and check it works before going through all your products ...

    Regards.
    I've always been an advocate of using tab as a delimiter (saves a lot of messing about) - read the included documentation. If you were more observant on the EasyPopulate screen then you'd see the link!
    Hosting plans with installation, configuration, contributions, support and maintenance.

  10. #10
    New Member
    Join Date
    May 2011
    Posts
    14
    Rep Power
    0


    Arrow Re: Easy Populate not working

    Quote Originally Posted by pgmarshall View Post
    It always uses a comma - Excel and other programs know to switch these in to columns.

    Try a couple of products and export just one category
    pgmarshall,

    Sorry for being slow in the follow up.

    In advance I want to thank you all for given me good support.

    I have made some progress: osCmax 2.5 Easy Populate Froogle csv did not work for me.
    And again all I did was to export easy populate and Upload and Import EP File.

    But I wasn't going to take this defeat laying down, so I tried Export EP Complete csv and EP Custom csv and to my delight it worked just fine.
    I have exported EP with Complete and Custom options csv files and then edited the files.
    I added new product and imported and they all worked well.

    Here is a summary of the Upload and Import EP File csv file:

    File uploaded.
    Temporary filename: /tmp/php3WwrWu
    User filename: EP2012Jun23-1402-froogle-short.csv
    Size: 353

    No products_model field in record. This line was not imported: | AABox Web Hosting | Web Hosting for the 21st centrury | Pressurize | Copper | 1499.99 | AABox Web Hosting | Web Hosting for the 21st centrury | HWS40-58/1 | 10 | Solar Hot | 2012-07-23 | USD

    Here is the csv EP Froogle file:

    link title description price image_link id quantity product_type expiration_date currency EOREOR
    http://www.mysite.com/product_info.p...amp;language=1 "Pressurised" " Copper Pipe." 1499.99 http://www.mysite.com/images/products/2.jpg HWS40-58/1808 10 Industrial Hardware 2012-07-23 USD EOREOR

    Here is the same product but written in EP Complete option:

    I am not listing the header row; it is very big.
    HWS40-58/1807 Pressurised <p> Copper Heat Pipe.</p> 2.jpg 1799.99 @ 1 1 1499.99 10 50 2012-06-23 14:53:52 heater_system.PNG Industrial Hardware 1 Version Version Version 1 Download: Windows - English Download: Windows - Englisch Download: Windows - Inglese Taxable Goods Active EOREOR

    The format is very different.

    Thank you again for your help.

    Regards.

Page 1 of 2 12 LastLast

Similar Threads

  1. Easy Populate
    By aliha in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 09-16-2009, 06:49 AM
  2. Where did Easy Populate Go?
    By ScaleCreep in forum osCmax v1.7 Discussion
    Replies: 10
    Last Post: 02-21-2005, 07:23 AM
  3. Easy Populate
    By lem in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 12-07-2004, 02:28 PM
  4. Easy populate bug
    By test3be in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-29-2004, 02:01 AM
  5. How to use Easy Populate
    By judoka in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 07-07-2003, 09:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •