tendemo Posted September 9, 2015 Share Posted September 9, 2015 Hi, Im trying to import some HTML code via CSV into the prestashop description field. Some of the format I intend to import includes a table as well as other formatting. After several failed attempts how can I get this to work . Link to comment Share on other sites More sharing options...
pieseagri Posted November 11, 2015 Share Posted November 11, 2015 Same here.. any solution? Link to comment Share on other sites More sharing options...
ajamdonut Posted November 11, 2015 Share Posted November 11, 2015 (edited) Hi guys, you need to make sure there are no breaks in the CSV format by the HTML code for example <h1 style="color: red;"> contains a semi-colon which can break the CSV format. You can use a pipeline rather than a semi-colon as your field seperator in the CSV file, this worked for me. You may also need to remove any line breaks \n. I recently wrote up some tips on importing this here: http://jamdonut.com/prestashop-import-help-errors-debugging/ If you could post some of your CSV I could check it over for you. Edited November 11, 2015 by ajamdonut (see edit history) Link to comment Share on other sites More sharing options...
metalines Posted December 17, 2015 Share Posted December 17, 2015 Hi, Just been having a look around and stumbled across your post, its a long shot but heres my product description, hope you can help <h2>BFT SUB EL KIT</h2><h4>Complete kit for a pair of residential industrial collective or tertiary swing gates up to a maximum of 3.5m in width or 800kg in weight each leaf.</h4><h3><span class="fa fa-tint"></span> Strong & Durable Hydraulic Motor</h3><h4>Most powerful motor for the largest gates. More durable with fewer moving parts and can easily be repaired by replacing the seals and the oil motor can be back in service for years to come. </h4><h3><span class="fa fa-diamond"></span> Ultimate Choice in Aesthetical Appearance</h3><h4>This underground equipment is specifically designed so that the motor is concealed in a load bearing foundation box beneath the pivot point of your hinged swing gates giving you the very best in aesthetics while further reducing hazards by removing more trapping points above ground level. </h4><h3><span class="fa fa-cogs"></span> LCD Display</h3><h4>Control Panel with LCD display for simplified programming.</h4><h3><span class="fa fa-bolt"></span> Intensive Use</h3><h4>The motor is specifically designed for intensive use. Enjoy the comfort of an electric gate that can open and close for numerous visitors throughout the day. Particularly useful for shared entrance gates to a large number of residences. </h4><div class="inside-box-window"><div class="inside-box-window-header"><div class="inside-box-window-title"><h3>What comes in the box</h3></div></div><div class="inside-box-body"><div class="inside-box"><ul class="inside-box-row inside-box-header"><li class="inside-box-header-track"><h4>Quantity</h4></li><li class="inside-box-header-title"><h4>Item</h4></li></ul><ul class="inside-box-row inside-box-row-even"><li class="inside-box-track"><h4><li class="inside-box-track"><h4>2</h4></li><li class="inside-box-title"><h4><strong>BFT SUB EL</strong> 230v Motor's</h4></li><li class="inside-box-track"><h4>1</h4></li><li class="inside-box-title"><h4><strong>BFT RIGEL 5</strong> Control Panel</h4></li><li class="inside-box-track"><h4>2</h4></li><li class="inside-box-title"><h4><strong>BFT Mitto RB</strong> 2 Button Transmitter's</h4></li><li class="inside-box-track"><h4>1</h4></li><li class="inside-box-title"><h4><strong>BFT Desme</strong> Pair of safety photocells</h4></li><li class="inside-box-track"><h4>1</h4></li><li class="inside-box-title"><h4><strong>BFT</strong> Antenna</h4></li><li class="inside-box-track"><h4>2</h4></li><li class="inside-box-title"><h4><strong>BFT FCS</strong> Foundation Box's</h4></li></ul></div></div></div> <table><tr class=models-table-top><td>Motor Models</td><td>Motor Power Supply</td><td>Mains Power Supply</td><td>Max Weight</td><td>Max Width</td><td>Max Opening Angle</td><td>Notes</td><tr><td>BFT SUB</td><td>230v</td><td>230v</td><td>800kg</td><td>1.8m</td><td>130°</td><td>Locking</td><tr><td>BFT SUB BT</td><td>24v</td><td>230v</td><td>800kg</td><td>2.5m</td><td>130°</td><td>Obstacle detection</td><tr><td>BFT SUB E</td><td>230v</td><td>230v</td><td>800kg</td><td>2.5m</td><td>130º</td><td>Reversible. Non-Locking</td><tr><td>BFT SUB EG</td><td>230v</td><td>230v</td><td>800kg</td><td>2.5m</td><td>180°</td><td>Reversible. Non-Locking</td><tr><td>BFT SUB EL</td><td>230v</td><td>230v</td><td>800kg</td><td>3.5m</td><td>130°</td><td>Reversible. Non-Locking</td><tr><td>BFT SUB ER</td><td>230v</td><td>230v</td><td>800kg</td><td>2.5m</td><td>130°</td><td>Fast motor. Reversible. Non-Locking</td><tr><td>BFT SUB G</td><td>230v</td><td>230v</td><td>800kg</td><td>1.8m</td><td>180°</td><td>Locking</td><tr><td>BFT SUB GR</td><td>230v</td><td>230v</td><td>800kg</td><td>1.8m</td><td>180°</td><td>Locking & Fast motor with Slow down on closing</td><tr><td>BFT SUB R</td><td>230v</td><td>230v</td><td>800kg</td><td>1.8m</td><td>130°</td><td>Locking & Fast motor with Slow down on closing</td></table> Please feel free to tell me im an idiot and inform me of a much simpler way to import thousands of complex products. Thanks Link to comment Share on other sites More sharing options...
metalines Posted December 17, 2015 Share Posted December 17, 2015 Hi, Just fixed it, it was the " that was causing the problem, removed them and imported perfectly fine, classes in the html and everything. Great! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now