Print Page | Close Window

Using HTML in Product Name

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=954
Printed Date: 14-July-2025 at 5:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Using HTML in Product Name
Posted By: Jackalope
Subject: Using HTML in Product Name
Date Posted: 11-July-2007 at 11:52pm

Is it possible to use HTML in the product name field? When namng my products I'd like to be able to add line breaks within the name so I can decide when the text wraps to the next line when it is displayed on the "Featured Items" page.

Thanks in advance.




Replies:
Posted By: cbadchris1
Date Posted: 13-September-2007 at 10:27am
Yes!

-------------
cbadchris


Posted By: fidjiti
Date Posted: 13-September-2007 at 12:47pm
I had no idea, that's great! Thanks for the post.

-------------
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)


Posted By: cbadchris1
Date Posted: 13-September-2007 at 12:49pm

No probelm. I use HTML all the time in names. Asp see the mark up as string nothing more.

Chris

 

 



-------------
cbadchris


Posted By: Jackalope
Date Posted: 13-September-2007 at 4:58pm

Thanks Chris. After posting this question 2 months ago, I realized it was possible. What I didn't like about it though was that when the cursor hovers over a product who's title has html in it, the html code shows in the hover text. I'm not sure how others view this, but it didn't seem good to me. All I really wanted to do was add a <br> between two words so that I could control when the title wrapped to the next line. When I added the <br> to the title, it would show properly throughout the site, but would be visible when the cursor hovers over the product.

Thanks for the follow up. I appreciate it.



Posted By: cbadchris1
Date Posted: 13-September-2007 at 5:00pm

Are you refering to the ajax window?

Chris



-------------
cbadchris


Posted By: Jackalope
Date Posted: 13-September-2007 at 5:09pm
No, just the hover text that shows up when you hover over a product picture. For me it just displays whatever the title is (without html formatting).


Posted By: cbadchris1
Date Posted: 13-September-2007 at 5:46pm
Because of the alt tag.

-------------
cbadchris


Posted By: Jackalope
Date Posted: 13-September-2007 at 6:46pm
Yep. I noticed it on your site as well. I don't think it's a big deal, just something I noticed. Have you had any comments about it on your site?


Posted By: cbadchris1
Date Posted: 13-September-2007 at 9:24pm

No, But I could write something that would strip any html from string displayed in the alt tag. I just don't think it is that important.

Chris

 



-------------
cbadchris



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net