<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : forcing a &lt;br&gt; on the name - SOLVED!</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : forcing a &lt;br&gt; on the name - SOLVED!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 15:01:44 +0000</pubDate>
  <lastBuildDate>Wed, 22 Apr 2009 16:15:14 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=2671</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[forcing a &lt;br&gt; on the name - SOLVED! : Hope it works as great for you...]]></title>
   <link>https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9704.html#9704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1165">worldofrugs</a><br /><strong>Subject:</strong> 2671<br /><strong>Posted:</strong> 22-April-2009 at 4:15pm<br /><br />Hope it works as great for you as it did for me.. Good luck and let me know...]]>
   </description>
   <pubDate>Wed, 22 Apr 2009 16:15:14 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9704.html#9704</guid>
  </item> 
  <item>
   <title><![CDATA[forcing a &lt;br&gt; on the name - SOLVED! : I tried to solve that problem,...]]></title>
   <link>https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9702.html#9702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=551">patschraier</a><br /><strong>Subject:</strong> 2671<br /><strong>Posted:</strong> 22-April-2009 at 3:34pm<br /><br />I tried to solve that problem, too, with CSS but it moved everything left. Thanks.]]>
   </description>
   <pubDate>Wed, 22 Apr 2009 15:34:02 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9702.html#9702</guid>
  </item> 
  <item>
   <title><![CDATA[forcing a &lt;br&gt; on the name - SOLVED! : Thanks BlackReef!Maybe someone...]]></title>
   <link>https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9701.html#9701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1165">worldofrugs</a><br /><strong>Subject:</strong> 2671<br /><strong>Posted:</strong> 22-April-2009 at 3:14pm<br /><br />Thanks BlackReef!<br>Maybe someone else might want to do something similar and this could help them out <img src="https://forum.productcart.com/smileys/smiley2.gif" border="0" alt="Wink" /><br>]]>
   </description>
   <pubDate>Wed, 22 Apr 2009 15:14:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9701.html#9701</guid>
  </item> 
  <item>
   <title><![CDATA[forcing a &lt;br&gt; on the name - SOLVED! : awesome! Glad you got it worked...]]></title>
   <link>https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9700.html#9700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1220">BlackReefDesigns</a><br /><strong>Subject:</strong> 2671<br /><strong>Posted:</strong> 22-April-2009 at 3:08pm<br /><br />awesome!&nbsp; Glad you got it worked out]]>
   </description>
   <pubDate>Wed, 22 Apr 2009 15:08:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9700.html#9700</guid>
  </item> 
  <item>
   <title><![CDATA[forcing a &lt;br&gt; on the name - SOLVED! :   Found the solutionIn pcShowProductH.asp...]]></title>
   <link>https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9699.html#9699</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1165">worldofrugs</a><br /><strong>Subject:</strong> 2671<br /><strong>Posted:</strong> 22-April-2009 at 2:48pm<br /><br />Found the solution&nbsp;<img src="https://forum.productcart.com/smileys/smiley32.gif" border="0" alt="Clap" /><br><br>In pcShowProductH.asp around line 16 you will find:<br><table width="99%"><tr><td><pre class="BBcode">&lt;p class="pcShowProductName"&gt;<br>&lt;a href="viewPrd.asp?idcategory=&lt;%=pIdCategory%&gt;&amp;idproduct=<br>&lt;%=pIdProduct%&gt;" &lt;%if scStoreUseToolTip="1" then%&gt;<br>onmouseover="javascript:document.getPrd.idproduct.value='&lt;%=pIdProduct%&gt;';<br>sav_callxml='1'; return runXML1('prd_&lt;%=pIdProduct%&gt;');" onmouseout="javascript:<br>sav_callxml=''; hidetip();"&lt;%end if%&gt;&gt;&lt;%=pDescription%&gt;&lt;/a&gt;<br></pre></td></tr></table><br><br>I changed it to the following:<br><table width="99%"><tr><td><pre class="BBcode">&lt;p class="pcShowProductName"&gt;<br>&lt;%pDescription2 = replace(pDescription, "rug, ", "rug&lt;br&gt;")%&gt;<br>&lt;a href="viewPrd.asp?idcategory=&lt;%=pIdCategory%&gt;&amp;idproduct=<br>&lt;%=pIdProduct%&gt;" &lt;%if scStoreUseToolTip="1" then%&gt;<br>onmouseover="javascript:document.getPrd.idproduct.value='&lt;%=pIdProduct%&gt;';<br>sav_callxml='1'; return runXML1('prd_&lt;%=pIdProduct%&gt;');" onmouseout="javascript:<br>sav_callxml=''; hidetip();"&lt;%end if%&gt;&gt;&lt;%=pDescription2%&gt;&lt;/a&gt;<br></pre></td></tr></table><br><br>As you can see I renamed it to pDescription2 and put the statement on it. This way I prevent that the statement is applied in for example the little lists at the bottom: best sellers, etc.., that have to show up in 1 line (where pDescription is used as well!).<br><br>Note:<br>As for the other displays it just has to show 'normal / as-is', no modifications are made to the files:<br>pcShowProductL.asp<br>pcShowProductM.asp<br>pcShowProductP.asp<br><span style="font-size:10px"><br /><br />Edited by worldofrugs - 22-April-2009 at 3:13pm</span>]]>
   </description>
   <pubDate>Wed, 22 Apr 2009 14:48:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9699.html#9699</guid>
  </item> 
  <item>
   <title><![CDATA[forcing a &lt;br&gt; on the name - SOLVED! :   The names of our products...]]></title>
   <link>https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9695.html#9695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1165">worldofrugs</a><br /><strong>Subject:</strong> 2671<br /><strong>Posted:</strong> 22-April-2009 at 1:20pm<br /><br />The names of our products are all build up the same. Without doing anything to the name, products now show up on the category/searchresults/home/showfeatured/etc.. as followed in the example products I created:<br>-------------------------<br><br><img src="uploads/1165/sc_1.jpg" height="247" width="590" border="0" /><br>----------------------------------<br><br>As you can see it's not to nice to have the size cut in half...<br>I rather would like to see it as this:<br>----------------------------------<br><img src="uploads/1165/sc_2.jpg" height="246" width="588" border="0" /><br>----------------------------<br><br>I can of cos. accomplish this with adding a &lt;br&gt; in the product name (before import), however this also will show up on the product detail pages, so not a great solution.<br>I was thinking....<br>Since you can do a "replace" function with ASP, I'm searching for where and how to add this...<br>Example I like to implement somewhere:<br>productname_value = replace(productname_value, "rug, ", "rug&lt;br&gt;"<br><br>This way on the pages where the thumbnails are shown, the name breaks nicely and on the detail pages it remains in 1 line on the top.<br>Any suggestions?<br><br>Thanks!<br><br>P.s.: <br>Using PC 3.12a&nbsp; (Did not have time yet to upgrade)<br><span style="font-size:10px"><br /><br />Edited by worldofrugs - 22-April-2009 at 2:49pm</span>]]>
   </description>
   <pubDate>Wed, 22 Apr 2009 13:20:02 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/forcing-a-br-on-the-name-solved_topic2671_post9695.html#9695</guid>
  </item> 
 </channel>
</rss>