Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a product


ZeniMan

Recommended Posts

Posted

Hi,

 

In the add a product, and then description area, how do I make it so that is not HTML but text only. Like when I press enter, it puts a line and I dont have to put <br> to space it and such. So How do I use text only formatting and not HTML?

 

Thanks

Posted

Anyone else know how to do this?

 

Can someone say if it's like just a little code change or if it would require quite a bit of coding changed? Cause I was thinking it might just have like input type = "html" or something, and not a whole page of code. :)

Posted
Anyone else know how to do this?

 

Can someone say if it's like just a little code change or if it would require quite a bit of coding changed? Cause I was thinking it might just have like input type = "html" or something, and not a whole page of code. :)

 

You can try surrounding your product description with the PRE tag. Like:

 

<PRE>Enter your description here</PRE>

 

The PRE tag is supposed to preserve the line breaks and extra spaces. I have not tried it but it should work.

 

-Miserlou

Posted
That should work for atlest the new line

 

 

I just tried the PRE tag in my shop and it worked the only thing is, is that the font is not what it should be. This is what I entered in the description field:

 

<pre>test
test
test	   1	 2	 3
</pre>

 

It showed just like this in the catalog. So it is a start to a solution just need to figure out the font issue.

 

-Miserlou

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...