Jump to content

"\n" in my stores long product descriptions


Recommended Posts

I'm using Prestashop 1.5.6.2 and importing via csv. I tried to get fancy and use <br > and <p > in my long descriptions in the csv because the white space gets crunched after import and if I change it in the back office, the next import crunches everything again, leaving no space and not looking too great.

 

The code failed multiple times with /n appearing everywhere and the editor adding <p > coding. So I removed the coding off the csv but now the back office editor interprets all spaces in my csv descriptions as /n instead of a space. I'm really confused by this and can't seem to find an answer to this.

 

Once I removed the coding from the csv, things should have returned to normal....or at least I would assume.

 

CSV copy and pasted....

 

Tough, versatile, trustworthy and practical, our Lockback knives will quickly become your favorites when you need to get the job done.
 
 
 
Blade: Drop Point Blade
 
Closed Length: 3 1/8 inch 
 
Steel: Surgical Steel
 

Handle: Brushed Stainless Steel

 

 

Same item copied from the front office after import.... notice the \n every where and no spaces...  

 

Tough, versatile, trustworthy and practical, our Lockback knives will quickly become your favorites when you need to get the job done.\n\n\n\nBlade: Drop Point Blade\n\nClosed Length: 3 1/8 inch \n \nSteel: Surgical Steel\n\nHandle: Brushed Stainless Steel

 

Has any one ever seen this before? Thanks in advance for any help, I'm stumped. 

 

 

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...