Magento Forum

Formatting issues – Need help! 
 
oberseite
Jr. Member
 
Avatar
Total Posts:  13
Joined:  2011-01-26
 

Our product descriptions are formatted in paragraph form for Word, etc. There are no HTML tags or attributes within them. Is there a way to tell our template to automatically add these tags at the end of the formatted paragraph to show the <p> tag so they’re formatted correctly?

We have thousands of products that update and import automatically, so manually adding <p> tags to each product description is not an option.

The attachments are too large, so please see our examples here and here.

Any ideas? Thank you!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mihai_C
Jr. Member
 
Total Posts:  28
Joined:  2010-02-17
 

try to paste it into the WYSIWYG editor directly

 
Magento Community Magento Community
Magento Community
Magento Community
 
Store_Manager
Enthusiast
 
Avatar
Total Posts:  867
Joined:  2012-07-09
 

Hi there,

In case your paragraphs are made by means of Enter, you can re-import the data and add HTML tags to separate paragraphs on a fly right in the process of import without manual adding them.
It is possible with import using Store Manager for Magento application.

Basically the process is the following:
- you do database backup (the usual procedure before mass changes),
-next re-import your products via Store Manager for Magento and during import use the following expression formula -

REPLACE([CSV_COL(2)],'\n','\n<br>')

In expression we used <br> to separate paragraphs instead of <p>, since double <p> for separation can mess up the data, so <br> is more suitable.
Also, please, note in case your line breakers are make by some other method than Enter, please, let us know, so we could adjust the expression for you.

Here is free 2-weeks version of Store Manager for Magento -
http://www.magentocommerce.com/magento-connect/store-manager-for-magento.html
so you can give it a try.

Let me know if any assistance required.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top