Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bold text


developer_x

Recommended Posts

I surrounded some text of the product description text box with <b> </b> tags while entering a new product via admin panel. In the preview it ofcourse looks bold, but when I check the same product from the client side, it is NOT bold. Just amazed.

Can't find time to install html areal or WYSIWYG editor for getting this small modification done. Help...

Irfan,

Link to comment
Share on other sites

I wrote this while entering a new product:

 

 

<b>Functions:</b> Time, month, day & date

<br><b>Case:</b> Plastic

<br><b>Size:</b> 20mm x 40mm

<br><b>Module:</b> Sweda buttonless digital mechanism

<br><b>Display description:</b> Positive display

<br><b>Strap: </b>Orange silicone

<br><b>Water resistant:</b> 3 ATM / 30m / 100ft

<br><b>Warranty:</b> 1 year worldwide guarantee

<br><b>Model name:</b> mysterious IV \"pumpkin\"

<br><b>Model number: </b>DD98-4

 

 

The preview is ok. But when I check the site as a visitor, only the <br> tag is working and the <b> tag doesn't work. I'm amazed!!!

Irfan,

Link to comment
Share on other sites

You can get a wysiwyg editer for your admin side if you go to the contributions. There are several of them and it makes adding descriptions much easier. You just type what you want, click a few buttons and you have an edited description that works. =)

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Yeah I know. I even tried 'WYSIWYG HTMLArea MS2 v1.7'. It still doesn't work. All others tags work but not the <b> tag.

My text is still not bold. Also wanted to let you know that the only contribution I had installed earlier was the define main page contribution. It doesn't come with a wysiwyg editor though. Thanks.

Irfan,

Link to comment
Share on other sites

A long shot but try looking in the DB to see if the tags are correct. I edited mine that way and didn't have any problems with getting bold text. I just can't remember "why" I did it that way.

Link to comment
Share on other sites

Tried both. Still nothing changed. I changed a product's description...made it bold. And checked it via 2 browsers (IE n firefox) , the source does contain the tag, but the text displayed is not bold.

I guess there must be some option in the admin panel which shud be turned on in order to enable html code. But no...other tags are working perfectly. Dont know what to do.

Irfan,

Link to comment
Share on other sites

If the code is there and correct, then it isn't osc that is having the problem. Have a link we can look at?

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Try <strong> </strong> instead.

Are you sure it isn't working? Could be a font issue - some fonts when bold do appear the same, but this is very rare.

 

Can you post the section of HTML that is being generated?

Link to comment
Share on other sites

Just tested it - works fine for me.

 

Vger

I surrounded some text of the product description text box with <b> </b> tags while entering a new product via admin panel. In the preview it ofcourse looks bold, but when I check the same product from the client side, it is NOT bold. Just amazed.

Can't find time to install html areal or WYSIWYG editor for getting this small modification done. Help...

Link to comment
Share on other sites

Try <strong> </strong> instead.

Are you sure it isn't working? Could be a font issue - some fonts when bold do appear the same, but this is very rare.

 

Can you post the section of HTML that is being generated?

The code generated for that specific section dealing with bold text is:

 

  <p><b>Functions:</b> Time, month, day & date 
<br><b>Case:</b> Plastic 
<br><b>Size:</b> 20mm x 40mm
<br><b>Module:</b> Sweda buttonless digital mechanism
<br><b>Display description:</b> Neagative display
<br><b>Strap:</b> Black silicone
<br><b>Water resistant:</b> 3 ATM / 30m / 100ft
<br><b>Warranty: </b>1 year worldwide guarantee
<br><b>Model name:</b> mysterious IV "sesame"
<br><b>Model number: </b>DD98-1</p>
       

Anyone who needs the url may plz pm me. Thanks all of you.

Irfan,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...