Jump to content

How to import HTML code via csv into Description


Recommended Posts

  • 2 months later...

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 by ajamdonut (see edit history)
Link to comment
Share on other sites

  • 1 month later...

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  :unsure:

 

 

 

<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>&nbspStrong & 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>&nbspUltimate 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>&nbspLCD Display</h3><h4>Control Panel with LCD display for simplified programming.</h4><h3><span class="fa fa-bolt"></span>&nbspIntensive 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>&nbsp230v Motor's</h4></li><li class="inside-box-track"><h4>1</h4></li><li class="inside-box-title"><h4><strong>BFT RIGEL 5</strong>&nbspControl Panel</h4></li><li class="inside-box-track"><h4>2</h4></li><li class="inside-box-title"><h4><strong>BFT Mitto RB</strong>&nbsp2 Button Transmitter's</h4></li><li class="inside-box-track"><h4>1</h4></li><li class="inside-box-title"><h4><strong>BFT Desme</strong>&nbspPair of safety photocells</h4></li><li class="inside-box-track"><h4>1</h4></li><li class="inside-box-title"><h4><strong>BFT</strong>&nbspAntenna</h4></li><li class="inside-box-track"><h4>2</h4></li><li class="inside-box-title"><h4><strong>BFT FCS</strong>&nbspFoundation 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...