Zen Cart Logo
Forums / General Questions / line feed in product description

line feed in product description

Locked

Views: 1,029

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Jan 2009, 5:10 PM
#1
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

line feed in product description

How do I force a linefeed in the Product Description text? I am
a Newbie here, and have tried to use \n and /n for new line but that
obviously did not work (otherwise I wouldn't be asking LOL).
I don't know if the Product Description is saved as a PHP file or in what format it is saved. Can someone help with this? Thanks.

29 Jan 2009, 5:17 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: line feed in product description

Try the html line break

<br />
29 Jan 2009, 7:15 PM
#3
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: line feed in product description

afo is correct, but make sure that you are editing the html source code.

Most of the WYSIWYG editors for ZenCart will either insert the break code with the enter key, if not try holding the shift key and hit enter.

JOhn ><>

31 Jan 2009, 9:54 PM
#4
nilsen avatar

nilsen

New Zenner

Join Date:
Aug 2008
Posts:
33
Plugin Contributions:
0

Re: line feed in product description

to do that I go to TOOLS->DEFINE PAGES EDITOR
and there on the top choose from the TEXT EDITOR list the "HTMLArea" this allows me to have formatted text.
good luck!

1 Feb 2009, 5:00 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: line feed in product description

You don't need to be using an HTML editor to insert HTML into product descriptions. I use the standard product input and use HTML as necessary.

1 Feb 2009, 9:25 AM
#6
g_nencini avatar

g_nencini

Zen Follower

Join Date:
Mar 2006
Location:
Florence, Italy
Posts:
153
Plugin Contributions:
0

Re: line feed in product description

When you use the HTML editor, be sure to click the "<>" icon to see and edit the code, and not the result shown by the browser.