<?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 : Gift certificate code</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Gift certificate code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 05:43:44 +0000</pubDate>
  <lastBuildDate>Thu, 22 Oct 2009 20:47:41 +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=3096</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[Gift certificate code : I&amp;#039;m not clear on whether...]]></title>
   <link>https://forum.productcart.com/gift-certificate-code_topic3096_post11709.html#11709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 3096<br /><strong>Posted:</strong> 22-October-2009 at 8:47pm<br /><br /><P>I'm not clear on whether you are wanting just alpha or if the alpha-numeric is OK, but to convert your lower case to upper case you should be able to simply add this after the For . . .Next loop:</P><DIV></DIV><table width="99%"><tr><td><pre class="BBcode"><DIV>Tn1=UCase(Tn1)</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 22 Oct 2009 20:47:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/gift-certificate-code_topic3096_post11709.html#11709</guid>
  </item> 
  <item>
   <title><![CDATA[Gift certificate code : I tried to remove Case 2: Randomize...]]></title>
   <link>https://forum.productcart.com/gift-certificate-code_topic3096_post11708.html#11708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=723">njessen42</a><br /><strong>Subject:</strong> 3096<br /><strong>Posted:</strong> 22-October-2009 at 4:29pm<br /><br />I tried to remove <br>Case 2: <br>Randomize<br> Tn1=Tn1 &amp; Chr(Fix(26*Rnd)+97)&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br><br>to get 10 digits with all uppercase letters and numbers and it still created lower case. What am I doing wrong. <br><br>For the above question I think you can change<br><br>CodeStrLen=10 to 5 and you should get a 5 digit code. I am trying to figure out the lower case letter thing also.<br>]]>
   </description>
   <pubDate>Thu, 22 Oct 2009 16:29:18 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/gift-certificate-code_topic3096_post11708.html#11708</guid>
  </item> 
  <item>
   <title><![CDATA[Gift certificate code : I need to alter the Gift Certificate...]]></title>
   <link>https://forum.productcart.com/gift-certificate-code_topic3096_post11582.html#11582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=54">cpgmar</a><br /><strong>Subject:</strong> 3096<br /><strong>Posted:</strong> 10-October-2009 at 1:04pm<br /><br />I need to alter the Gift Certificate code generator to generate a code with only 5 digits with all cap letters (no small letters) Does anyone know how to revise this code below to make it do that? <br><br>'--- Start Generating Gift Code - This is just SAMPLE CODE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Tn1=""<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; For w=1 to CodeStrLen<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nb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bsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Case 2: <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Randomize<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Tn1=Tn1 &amp; Chr(Fix(26*Rnd)+97)&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; End Select<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Next<br>'--- Finish Generating GiftCode&nbsp;&nbsp;&nbsp; <br>]]>
   </description>
   <pubDate>Sat, 10 Oct 2009 13:04:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/gift-certificate-code_topic3096_post11582.html#11582</guid>
  </item> 
 </channel>
</rss>