BV Commerce Forum
»
BV Commerce Support
»
Development
»
Need help removing table borders and extra " from LongDescription area after Import.
Rank: Member
Joined: 3/6/2006(UTC) Posts: 52
|
Hi everyone-
I am trying to fix a bug where there are extra " added to my HTML when I import a product. This even happens when I export the product, make NO CHANGES, and then re-import it. This is makign it very difficult to take advantage of the Import/Export tool, because I have to go into EVERY product I import and fix it in my site. Here is what is going on:
I import this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Untitled Document</title></head><body><table width="550" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="http://www.stealthauto.com/Images/products/300C/reflectorsAB.gif"></td> </tr> <tr> <td><p> </p> <p align="justify">NEW PRODUCT ANNOUNCEMENT!!!</p> <p align="justify">We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. </p></td> </tr> <tr> <td><p> </p> <p><img src="http://www.stealthauto.com/Images/products/300C/300Csidesbeforeafter.gif"></p></td> </tr></table></body></html>
And BV turns it into this:
"<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN""""http://www.w3.org/TR/html4/loose.dtd""><html><head><meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1""><title>Untitled Document</title></head><body><table width=""550"" border=""0"" cellspacing=""0"" cellpadding=""0""> <tr> <td><img src=""http://www.stealthauto.com/images%5CProducts%5C300C%5CreflectorsAB.gif""></td> </tr> <tr> <td><p> </p> <p align=""justify"">NEW PRODUCT ANNOUNCEMENT!!!</p> <p align=""justify"">We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. </p></td> </tr> <tr> <td><p> </p> <p><img src=""http://www.stealthauto.com/images%5CProducts%5C300C%5C300Csidesbeforeafter.gif""></p></td> </tr></table></body></html>"
I really need this fixed. ANY HELP WILL BE GREATLY APPRECIATED!!!!
If I need to pay to get this done, please send me a bid. Thanks!
-Todd |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
First thing you need to do is remove all the duplicate HTML code. THIS: [color=red><!DOCTYPE]<table width="550" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="http://www.stealthauto.com/Images/products/300C/reflectorsAB.gif"></td> </tr> <tr> <td><p> </p> <p align="justify">NEW PRODUCT ANNOUNCEMENT!!!</p> <p align="justify">We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. </p></td> </tr> <tr> <td><p> </p> <p><img src="http://www.stealthauto.com/Images/products/300C/300Csidesbeforeafter.gif"></p></td> </tr></table><FONT color=red></body></html>[/color] Should be this: (Delete the red stuff) <table width="550" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="http://www.stealthauto.com/Images/products/300C/reflectorsAB.gif"></td> </tr> <tr> <td><p> </p> <p align="justify">NEW PRODUCT ANNOUNCEMENT!!!</p> <p align="justify">We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. </p></td> </tr> <tr> <td><p> </p> <p><img src="http://www.stealthauto.com/Images/products/300C/300Csidesbeforeafter.gif"></p></td> </tr></table> Then run a SQL Find and Replace on the product's long descript ion. Find "" Replace with " I tap Resposio.com to run this F&R for me as they host all of my clients. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.