Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Plugin Contributions
    0

    Default product description html to text edit?

    Hey guys, I'm new at this and am not completely familiar with the system, but let me give this a go...

    We are tranferring our old online store to a new one by zen cart. we tranferred over close to 10,000 products, and right now we need to modify EVERY product desrciption and insert <br> (break) tags everywhere we had a return (new line|). That's about 10 breaks per 10,000 items, and I'm looking for a mod.

    I need to know if I can change the product description text box so that a return will equal a break by default, for this field only. There has to be a way.

    Thanks for the help guys!
    Sean
    www.punkstop.com

  2. #2
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    1

    Default Re: product description html to text edit?

    That sort of change you want to do in mySQL. Once you import your products into the database (with existing descriptions), run a SQL command with the replace function:

    update tablename set field = replace(field,'search_for_this','replace_with_this');

    Good luck!
    Jake

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: product description html to text edit?

    Forgive me for being a pain, but could you elaborate on how that's done? Like I said, I'm VERY new to this system, and am still fairly unfamiliar with the different places.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: product description html to text edit?

    That is actually not a Zen Cart function at all, but a mySQL database function.

    You would run that command in phpMyAdmin, to modify the information once it is stored in your database.
    The way to access phpMyAdmin would depend on your server control panel; if you have cPanel, there is a tiny link at the bottom of the MySQL Database page.

 

 

Similar Threads

  1. v151 admin, I put html code at product description, but it shows text format at front page
    By peter888 in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 16 Dec 2013, 02:15 PM
  2. Replies: 2
    Last Post: 14 Dec 2013, 05:49 PM
  3. Product Description won't switch from WYSIWYG to HTML nor can I edit descriptions
    By LRS in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 6 Oct 2011, 11:37 PM
  4. Edit HTML in Products Description
    By spinman in forum General Questions
    Replies: 3
    Last Post: 7 Feb 2011, 03:23 AM
  5. product description in built html/text editor
    By rashuweb in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 15 Jul 2009, 11:15 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