<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>alcher &#187; osCommerce</title>
	<atom:link href="http://www.alcher.info/category/oscommerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alcher.info</link>
	<description>something about everything</description>
	<lastBuildDate>Sun, 29 Aug 2010 07:40:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Shopping Cart : Product Quantity</title>
		<link>http://www.alcher.info/oscommerce/shopping-cart-product-quantity/</link>
		<comments>http://www.alcher.info/oscommerce/shopping-cart-product-quantity/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 05:36:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My Own Modifications]]></category>
		<category><![CDATA[osCommerce]]></category>

		<guid isPermaLink="false">http://www.alcher.biz/?p=214</guid>
		<description><![CDATA[I found a few reason why using drop-down menu for product quantity instead of text field could be better (product_info.php and shopping_cart.php files): With tracking inventory, it&#8217;s possible to setup a max number of products that could be added to the shopping cart It&#8217;s easy to set a default value other than 1. For the [...]]]></description>
			<content:encoded><![CDATA[<p>I found a few reason why using drop-down menu for product quantity instead of text field could be better (product_info.php and shopping_cart.php files):</p>
<ol>
<li>With tracking inventory, it&#8217;s possible to setup a max number of products that could be added to the shopping cart</li>
<li>It&#8217;s easy to set a default value other than 1. For the parts store there is always required number of parts per assembly</li>
</ol>
<p><span id="more-317"></span></p>
<blockquote>
<pre>function tep_select_quantity(
  $name = 'quantity',
  $start = '1', $end = MAX_QTY_IN_CART,
  $selected = 0, $param ='' ) {

  for( $i = $start; $i &lt;= $end; ++$i ) {
    $quantity[] = array('id'   =&gt; $i, 'text' =&gt; ' ' . $i . ' ');
  }
  return tep_draw_pull_down_menu (
    $name, $quantity, $selected, "class=\"{$name}\" {$param}");
}</pre>
</blockquote>
<ul>
<li>The method could be used with default values for most cases.</li>
<li>For the shopping cart page, as a parameter, we can pass a JavaScript  as follows: onchange=&#8221;document.forms['cart_quantity'].submit ();&#8221;</li>
</ul>
<p>With adding an additional link <em>Remove,</em> we don&#8217;t need <em>Update&#8217;</em> button any longer. <em>Check the <a href="http://www.beautyattic.com/glytone-antioxidant-c-60.html?products_id=1864&amp;action=buy_now&amp;sort=2a" target="_blank">web site</a> to see this modification in action</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alcher.info/oscommerce/shopping-cart-product-quantity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOD: Order Editor</title>
		<link>http://www.alcher.info/oscommerce/mod-order-editor/</link>
		<comments>http://www.alcher.info/oscommerce/mod-order-editor/#comments</comments>
		<pubDate>Sat, 12 May 2007 14:30:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[osCommerce]]></category>

		<guid isPermaLink="false">http://www.alcher.biz/?p=22</guid>
		<description><![CDATA[Order Editor Original link is here Just one file I don&#8217;t see any reason to use GLOBALS and like to have both billing and shipping addaress hiden if they are the same as a customer address when I start the Order Editor.]]></description>
			<content:encoded><![CDATA[<ul>
<li><a id="p21" href="http://alcher.info/wp-content/uploads/2007/05/order_editor_3_0_1.zip">Order Editor</a> Original link is <a href="http://www.oscommerce.com/community/contributions,1435">here</a><br />
<a id="p23" href="http://alcher.info/wp-content/uploads/2007/05/order_editor_3_0_1_a.zip">Just one file</a> I don&#8217;t see any reason to use GLOBALS and like to have both billing and shipping addaress hiden if they are the same as a customer address when I start the Order Editor.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.alcher.info/oscommerce/mod-order-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Illegal characters</title>
		<link>http://www.alcher.info/oscommerce/illegal-characters/</link>
		<comments>http://www.alcher.info/oscommerce/illegal-characters/#comments</comments>
		<pubDate>Mon, 29 Jan 2007 04:45:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.alcher.biz/?p=35</guid>
		<description><![CDATA[The page might contain illegal characters in text generated with tep_href_link () (html_output.php). Usually, it&#8217;s a &#8216;&#038;&#8217; within URL. return htmlspecialchars ($link); works better so far. Once again, it&#8217;s being tested in admin.]]></description>
			<content:encoded><![CDATA[<p>The page might contain illegal characters in text generated with tep_href_link () (html_output.php). Usually, it&#8217;s a &#8216;&#038;&#8217; within URL. <strong>return htmlspecialchars ($link);</strong> works better so far. Once again, it&#8217;s being tested in admin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alcher.info/oscommerce/illegal-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empty TABLE tag</title>
		<link>http://www.alcher.info/oscommerce/empty-table-tag/</link>
		<comments>http://www.alcher.info/oscommerce/empty-table-tag/#comments</comments>
		<pubDate>Sun, 28 Jan 2007 04:42:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.alcher.biz/?p=32</guid>
		<description><![CDATA[It could be done already by somebody else, it&#8217;s ok. I am trying to keep somewhere the list of bugs I had to fix. If the the menu is &#8220;closed&#8221;, no option is shown, the class &#8216;table_block&#8217; in admin/includes/classes/ will generate the empty &#8216;table&#8217; tags, so any validation will fail. There is, probably, the same [...]]]></description>
			<content:encoded><![CDATA[<p>It could be done already by somebody else, it&#8217;s ok. I am trying to keep somewhere the list of bugs I had to fix.</p>
<p>If the the menu is &#8220;closed&#8221;, no option is shown, the class &#8216;table_block&#8217; in admin/includes/classes/ will generate the empty &#8216;table&#8217; tags, so any validation will fail. There is, probably, the same issue with catalog, I had no chance to look at that yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alcher.info/oscommerce/empty-table-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
