Results 1 to 3 of 3
  1. #1

    Default How can I remove all these tables from my product descriptions?

    Hi Everyone!

    Im looking for a way to change descriptions fast Im currently using easy populate and all my descriptions are as tables see here:

    HTML Code:
    <table width="382"  border="0" ><tbody><tr><td><span style="color:#0000FF"><b>Size of Units:</b><br /></span></td><td><span style="color:#0000FF"><br /></span></td><td><br /></td><td><span style="color:#FF0000"><b>Frontages Included:</b><br /></span></td></tr><tr><td><span style="color:#0000FF">Width:<br /></span></td><td><span style="color:#0000FF">150mm<br /></span></td><td><br /></td><td><span style="color:#FF0000">1 * 147mm x 715mm</span></td></tr><tr><td><span style="color:#0000FF">Depth:<br /></span></td><td><span style="color:#0000FF">560mm<br /></span></td><td><br /></td><td><span style="color:#FF0000"><br /></span></td></tr><tr><td><span style="color:#0000FF">Height:<br /></span></td><td><span style="color:#0000FF">720mm<br /></span></td><td><br /></td><td><span style="color:#FF0000"><br /></span></td></tr></tbody></table>
    I now only want them as simple lists:

    HTML Code:
    <b>Size of Units:</b><br />
    Width:		150mm<br />
    Depth:	560mm<br />
    Height: 	720mm<br />
    <b>Frontages Included:</b><br />
    1 * 147mm x 715mm
    What im looking for is a fast way to change the upper table html into the lower html somehow. I always try a series of careful search and replaces but I cant figure it out!

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

    Default Re: How can I remove all these tables from my product descriptions?

    If the descriptions all (or mostly) have the same format and number of items, I would make up a dummy list, drop a copy into each product description, copy/paste the items from the table into it, and delete the old table code. That seems to be the most "automated" I would bet on.
    HTML Code:
    <h4>Size of Units:</h4>
    Width:    mm<br />
    Depth:    mm<br />
    Height:     mm<br />
    <h4>Frontages Included:</h4>
    1 * mm x mm
    Then you can style the elements if required.

  3. #3

    Default Re: How can I remove all these tables from my product descriptions?

    I ended up doing it like this,

    Many thanks,
    Daniel

 

 

Similar Threads

  1. can I remove zen_ prefix from all tables?
    By warroyo90 in forum General Questions
    Replies: 7
    Last Post: 27 Jul 2012, 09:24 PM
  2. How to I remove New and All Product links from Category sidebox?
    By dkmojo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Apr 2011, 08:14 PM
  3. Replies: 3
    Last Post: 17 Jun 2008, 12:50 AM
  4. How to remove all images from product description?
    By jason a. in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 23 Apr 2008, 04:29 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR