Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Posts
    16
    Plugin Contributions
    0

    Default Problem Importing excel text files - EZPopulate

    Sorry for the long question, but this is hard for me to explain...

    I'm using easy populate to import items in my catalog. Everything works great except the description field. The file from my supplier has imbedded codes such as line breaks to format the text. Problem is when I save the file as a tab delimited test file, the description field ends up getting split up all over the place. There must be some embedded asci codes in the discription field that are causing the imput to go kaflooye.

    I did a find and replace for line breaks (alt 0010) within excel but that did not work. I think there must be other codes in there as well but I don't know how to look for them.

    Is there a program I could copy and paste this text into that would let me see the codes excel is putting in my description fields?

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problem Importing excel text files - EZPopulate

    Download and use Open Office...FREE, works much better with Easy Populate than excel.

  3. #3
    Join Date
    Dec 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Problem Importing excel text files - EZPopulate

    I get the same problem with open office. The supplier has put some formatting into the description. I can edit / replace it, if only I could see it!

    Is there some program I could paste the text into that would allow me to see all of the formatting characters?

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Problem Importing excel text files - EZPopulate

    Easy Populate ADVANCED has an inherent capacity to instruct EP to convert line breaks to <br /> tags.

    But here's what I do... (and it's a bit cumbersome but it works.)

    I use combinations of features in MS Excel and MS Word to search---replace.

    I open up MSWord alongside MSExcel.

    I create a NEW column NEXT TO v_products_description_1 in the spreadsheet.

    I highlight the entire v_products_description_1 column then <ctrl+c> (copy) it.

    I then move to MSWord and <ctrl+v> (paste) the column. The table will be preserved.

    I then activate the display of hidden formatting characters, so I can see if the breaks are PARAGRAPH breaks or LINE breaks.

    Then I use MSWord REPLACE feature

    If they are LINE breaks, I run the following:

    FIND: ^l
    REPLACE WITH: <br />



    If they are PARAGRAPH breaks, I run the following:

    FIND: ^p
    REPLACE WITH: <br />

    I then highlight the entire table (you must hover the mouse just on the top line of the top cell, then click to highlight the table. If you drag over the text, you will be highlighting the TEXT in the table - not the table itself).

    <ctrl+c>

    Return to MS Excel

    Put cursor into the top-most cell of the new columm where the original product description texts start.. then <ctrl+v>. It is important to paste the edited table at the right cell level ... if you are out by just one cell, then the descriptions will associate with the incorrect product.

    I then do a quick visual check to see if the new data is the same as the old data in the adjoining column. If it is, I delete the original column and the new column becomes v_products_description_1

    You can use this technique to do a lot more, because MSWord is more versatile than Excel for search/replace...
    20 years a Zencart User

  5. #5
    Join Date
    Dec 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Problem Importing excel text files - EZPopulate

    Thanks,

    I also learned that you can use the excel "clean" function. It strips the cell of all ascii codes! It worked great!

 

 

Similar Threads

  1. v150 problem importing (or saving locally) csv files
    By eternity575 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 15 Apr 2012, 06:21 PM
  2. Importing info into Excel
    By foxxxy in forum General Questions
    Replies: 2
    Last Post: 7 Apr 2010, 02:55 PM
  3. Need Help!! Importing products from excel
    By pce.photography in forum Basic Configuration
    Replies: 4
    Last Post: 6 Oct 2009, 03:31 PM
  4. importing through excel
    By Damunz in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 Jul 2007, 05:59 AM

Posting Permissions

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