<?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 : Rearranging the order with Login options</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Rearranging the order with Login options]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 12:56:09 +0000</pubDate>
  <lastBuildDate>Tue, 18 Aug 2009 00:10:45 +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=2757</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[Rearranging the order with Login options : I spoke with Joe on the phone...]]></title>
   <link>https://forum.productcart.com/rearranging-the-order-with-login-options_topic2757_post11016.html#11016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 2757<br /><strong>Posted:</strong> 18-August-2009 at 12:10am<br /><br />I spoke with Joe on the phone about this today, and I better understand his question here now (esp. as it ran into an issue with our Anonymous Checkout mod).<br><br>What Joe wanted to do with the default layout on the first page of checkout on 3.51 is change the order of options like so:<br><br>Default:<br>( ) Yes and my password is &#091;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#093;<br>( ) No, I want to create a new account.<br>( ) No, I want to checkout without creating a password.<br><br>Revised to:<br>( ) I want to checkout without creating a password.<br>( ) I'm a returning customer, and my password is &#091;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#093;<br>( ) I'm a new customer and would like to create a new account.<br><br>The "heads up!" he really needed here was that radio buttons create an array of inputs. That is, each of these radio buttons has the same input name, "PassWordExists"; so this creates an array of options on the page. It's also important to understand that arrays start numbering at 0 by default. What's more, there is a bit of in-line JavaScript on that password input.<br><br>So, to change the order of these radio buttons also means that you have to account for that in-line JavaScript on that password field if you are to more it.<br><br>Initially the first radio button had the password input assigned to it. The first radio button here is position 0 in the array and that password field has the following in-line JS written in:<br><table width="99%"><tr><td><pre class="BBcode"><br>onFocus="document.LoginForm.PassWordExists&#091;0&#093;.checked=true"<br></pre></td></tr></table><br><br>That means that when someone clicks into the password field, the radio button option switches to the first element of the array, which got changed to "I want to checkout without creating a password." Bad news, as that just selected, or "checked", the&nbsp; the wrong option now that the order of the radio buttons had been changed.<br><br>In the new order of radio button options, the password input now belongs to the 2nd element of the array . . . and since arrays start numbering at 0, this bit of in-line JS would have to be changed to the following once the order of options was changed:<br><table width="99%"><tr><td><pre class="BBcode"><br>onFocus="document.LoginForm.PassWordExists&#091;1&#093;.checked=true"<br></pre></td></tr></table><br><br>Word to the wise: Be careful when moving things around in ProductCart or any other application; there may be other performance issues wedded to that thing you want to just move in your visual editor. Take a peak under the hood and see if there are any "on*" events associated with it. There may be other issues with moving things around, esp. if there are any arrays associated with the element being moved.<br><br>As a Certified ProductCart Developer, WMS will be helping Joe out with these sorts of things from here on out. You may want to make sure you have a certified ProductCart developer to consult with too.<br><br>]]>
   </description>
   <pubDate>Tue, 18 Aug 2009 00:10:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/rearranging-the-order-with-login-options_topic2757_post11016.html#11016</guid>
  </item> 
  <item>
   <title><![CDATA[Rearranging the order with Login options : Hi Joe, Yes, but it would require...]]></title>
   <link>https://forum.productcart.com/rearranging-the-order-with-login-options_topic2757_post10062.html#10062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 2757<br /><strong>Posted:</strong> 26-May-2009 at 3:57pm<br /><br />Hi Joe,<br>&nbsp;&nbsp;&nbsp;&nbsp; Yes, but it would require customization of the code, specifically checkout.asp - Look for the text above in the includes/languages.asp file to ID the variables holding that text, then within checkout.asp for those variables to ID the code to be swapped around.<br>]]>
   </description>
   <pubDate>Tue, 26 May 2009 15:57:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/rearranging-the-order-with-login-options_topic2757_post10062.html#10062</guid>
  </item> 
  <item>
   <title><![CDATA[Rearranging the order with Login options : I was wanting to know how I could...]]></title>
   <link>https://forum.productcart.com/rearranging-the-order-with-login-options_topic2757_post10061.html#10061</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1220">BlackReefDesigns</a><br /><strong>Subject:</strong> 2757<br /><strong>Posted:</strong> 26-May-2009 at 3:15pm<br /><br />I was wanting to know how I could rearrange the order, so the 'Checkout without a Password' is on top, instead of the bottom?&nbsp; See screenshot below<br><br>Thanks<br><br><img src="http://blackreefdesigns.com/misc/login1.png" border="0" />]]>
   </description>
   <pubDate>Tue, 26 May 2009 15:15:33 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/rearranging-the-order-with-login-options_topic2757_post10061.html#10061</guid>
  </item> 
 </channel>
</rss>