<?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>osCommerce Templates &#187; Contributions</title>
	<atom:link href="http://www.oscommercetemplates.net/category/contributions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oscommercetemplates.net</link>
	<description>Professional Templates and eBook Tutorials for your osCommerce Store</description>
	<lastBuildDate>Sun, 16 Oct 2011 21:10:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Losing Orders?</title>
		<link>http://www.oscommercetemplates.net/2007/05/losing-orders/</link>
		<comments>http://www.oscommercetemplates.net/2007/05/losing-orders/#comments</comments>
		<pubDate>Fri, 11 May 2007 21:59:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/2007/05/losing-orders/</guid>
		<description><![CDATA[Somehow, on occassion, orders don&#8217;t get through to the admin from the payment processor. I&#8217;ve managed to stop this myself with Protx by switching off JavaScript. I would have thought that Protx would update osCommerce automatically but it seems that it still requires the customer to return back to the website before the order is <a href='http://www.oscommercetemplates.net/2007/05/losing-orders/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Somehow, on occassion, orders don&#8217;t get through to the admin from the payment processor. I&#8217;ve managed to stop this myself with Protx by switching off JavaScript. I would have thought that Protx would update osCommerce automatically but it seems that it still requires the customer to return back to the website before the order is updated and my client is notified.</p>
<p>So with this in mind we needed something to allow her to view unpaid orders ie. orders that hadn&#8217;t officially been paid for but in theory should have because the customer clicked to pay. After a bit of searching and testing I came across <a href="http://www.oscommerce.com/community/contributions,1168/category,all/search,ordercheck">orderCheck</a>, a contribution which creates a temporary version of the customer&#8217;s order before they leave your site to pay. If the customer pays and returns successfully the temp order is removed and appears in the Orders section, however if something goes wrong the order is still clear to see in the orderCheck section. It&#8217;s almost identical to the Orders section and allows the client to update and &#8216;push&#8217; the order through manually if and when needed.</p>
<p>We&#8217;ll be installing this on all the osCommerce stores we maintain, simply because it saves any problems and hassle of having to work through the database and the basket information to work out what someone&#8217;s paid for. Afterall it doesn&#8217;t sound professional having to ask a customer what they ordered.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2007/05/losing-orders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured Products</title>
		<link>http://www.oscommercetemplates.net/2007/01/featured-products/</link>
		<comments>http://www.oscommercetemplates.net/2007/01/featured-products/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 19:28:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/2007/01/featured-products/</guid>
		<description><![CDATA[We&#8217;ve just finished redoing an existing site with a new design. Sometimes it&#8217;s harder working on an existing site than just setting up a new one, as the existing one tends to carry alterations and so you have more to work around. One option the client wanted was not to have new products on the <a href='http://www.oscommercetemplates.net/2007/01/featured-products/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just finished redoing an existing site with a new design. Sometimes it&#8217;s harder working on an existing site than just setting up a new one, as the existing one tends to carry alterations and so you have more to work around. One option the client wanted was not to have new products on the front of the site but to be able to select which ones were displayed. After a quick search we came across the <a href="http://www.oscommerce.com/community/contributions,651/category,all/search,featured+products">Featured Products</a> contribution.</p>
<p>This is quite a nice contribution as it gives the owner a greater control over what their visitors see when they first reach the site (providing they enter via the front page of course!). I&#8217;ve not found any problems with it yet and it was easy enough to incorporate it into the new design.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2007/01/featured-products/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Dynamic Site Map</title>
		<link>http://www.oscommercetemplates.net/2006/11/dynamic-site-map/</link>
		<comments>http://www.oscommercetemplates.net/2006/11/dynamic-site-map/#comments</comments>
		<pubDate>Tue, 07 Nov 2006 19:47:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>
		<category><![CDATA[SEO & Accessibility]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/2006/11/dynamic-site-map/</guid>
		<description><![CDATA[Today I suddenly realised the client had asked for a Site Map when of course osCommerce doesn&#8217;t come with one. A quick search on the osCommerce site and I came across Dynamic Sitemap. This is perfect for the job. I added it on within about 10 minutes and then ran through the configuration of the <a href='http://www.oscommercetemplates.net/2006/11/dynamic-site-map/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Today I suddenly realised the client had asked for a Site Map when of course osCommerce doesn&#8217;t come with one. A quick search on the osCommerce site and I came across <a href="http://www.oscommerce.com/community/contributions,3306/category,all/search,sitemap">Dynamic Sitemap</a>. This is perfect for the job. I added it on within about 10 minutes and then ran through the configuration of the page. You get a page under the Tools section of the admin to allow you to choose who sees the pages within the sitemap, whether they&#8217;re not shown at all (such as the Checkout Success page) or whether they&#8217;re just shown to account holders (eg. the Lost Password page). The sitemap is printed out in two lists, one of the various pages available, all of your static pages plus the various cart pages, along with a list of all of the product categories. The anchor text for each page is pulled from the Header title defined under the languages/your-language directory eg. languages/english. All files within the directory are read and offered for the Site Map, and as they&#8217;re read every time, any new pages will automatically be picked up.</p>
<p>This is a pretty good way to get your site well indexed within the search engines. It gives them a page which isn&#8217;t using a dynamic URL (ie. a URL with a question mark and extra variables in) which they have more trust in. Then the search engine spiders will follow these links and get deeper into your site, indexing the category pages thus giving you more scope within the search engines.</p>
<p>Very easy to set up and a great feature to have.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/11/dynamic-site-map/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Protx Module</title>
		<link>http://www.oscommercetemplates.net/2006/10/protx-module/</link>
		<comments>http://www.oscommercetemplates.net/2006/10/protx-module/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 14:37:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/2006/10/protx-module/</guid>
		<description><![CDATA[After a recommendation from a well versed osCommerce user I downloaded the Protx Form payment module and installed it on the new site yesterday. The form itself was very straightforward to add, however getting it to work with Protx is another matter. I&#8217;ve configured it with the correct merchant name and what I believe to <a href='http://www.oscommercetemplates.net/2006/10/protx-module/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>After a recommendation from a well versed osCommerce user I downloaded the <a href="http://www.oscommerce.com/community/contributions,441/category,1/search,protx">Protx Form</a> payment module and installed it on the new site yesterday. The form itself was very straightforward to add, however getting it to work with Protx is another matter.</p>
<p>I&#8217;ve configured it with the correct merchant name and what I believe to be the correct password (although this has come from my client so they may have their wires crossed) however on trying it out today I got the VSP Error Screen. Unfortunately Protx don&#8217;t seem to offer much info for the integration of their system on your website. I looked through their PDFs and couldn&#8217;t find the answers I needed, and the Protx form readme file doesn&#8217;t tell you much. So I&#8217;m a bit stuck at present and am going to have to trawl through the forums on osCommerce.com to see if I can find an answer, unless anyone here can give me one!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/10/protx-module/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Autothumbnailer / More Pics Contribution Clash</title>
		<link>http://www.oscommercetemplates.net/2006/10/autothumbnailer-more-pics-contribution-clash/</link>
		<comments>http://www.oscommercetemplates.net/2006/10/autothumbnailer-more-pics-contribution-clash/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 21:21:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/2006/10/autothumbnailer-more-pics-contribution-clash/</guid>
		<description><![CDATA[When we first installed the auto thumbnailer contribution it worked fine, absolutely perfectly. However after installing the other contributions I noticed that even though the extra pics were resizing on the page, the main product image wasn&#8217;t, but it was in the product listings and search results. So I sat down today and ran through <a href='http://www.oscommercetemplates.net/2006/10/autothumbnailer-more-pics-contribution-clash/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>When we first installed the <a href="http://www.oscommercetemplates.net/blog/?p=9">auto thumbnailer</a> contribution it worked fine, absolutely perfectly. However after installing the other contributions I noticed that even though the <a href="http://www.oscommercetemplates.net/blog/?p=11">extra pics</a> were resizing on the page, the main product image wasn&#8217;t, but it was in the product listings and search results. So I sat down today and ran through the PHP code for the contribution to see what had altered. I had a nagging feeling in my mind that the More Pics contribution had overwritten something that the Auto Thumbnailer was relying on.</p>
<p>After digging through the PHP code in the product_info.php page I noticed the line where the main image is printed to the page</p>
<p><code>document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');</code></p>
<p>Here you can see the additions added by the More Pics contrib<br />
<code>(MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH)<br />
(MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT)</code></p>
<p>Looking at the code (for anyone who doesn&#8217;t know PHP) it essentially says if the constant &#8216;MOPICS_RESTRICT_PARENT&#8217; is set to false then don&#8217;t print anything, otherwise print the small image width/height. However this doesn&#8217;t control where the image is pulled from, and in the pages the main product image was coming from the original directory and not the resized image cache directory. After removing the if statement and forcing the small image width/height to be printed suddenly it all worked fine again. I&#8217;m sure there&#8217;s probably a language file somewhere to change to get the same affect but I certainly can&#8217;t work out what to change!</p>
<p>So my code now is<br />
<code>document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>');</code></p>
<p>Which is what it was originally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/10/autothumbnailer-more-pics-contribution-clash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Update</title>
		<link>http://www.oscommercetemplates.net/2006/10/site-update/</link>
		<comments>http://www.oscommercetemplates.net/2006/10/site-update/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 15:14:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>
		<category><![CDATA[Shop Setup]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/2006/10/site-update/</guid>
		<description><![CDATA[So how far have we got? Well the site is now running on the live domain, the client is adding in her products and they&#8217;re almost displaying correctly on the front end. Because of the product photos in use, some are long and narrow, others are square. Not ideal really, but we&#8217;ve got to work <a href='http://www.oscommercetemplates.net/2006/10/site-update/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So how far have we got? Well the site is now running on the live domain, the client is adding in her products and they&#8217;re almost displaying correctly on the front end.</p>
<p>Because of the product photos in use, some are long and narrow, others are square. Not ideal really, but we&#8217;ve got to work around these issues. So the product results and product info page has to be displayed in a different manor to the usual image on the left, detail on the right. Plus the <a href="http://www.oscommercetemplates.net/2006/09/thumbnails-and-auto-thumbnailer/">Auto thumbnailer</a> doesn&#8217;t seem to be working on the main product photo, just the extra photos and the search results pages. So a bit more PHP investigating is needed, along with still having to fix the Customer Title issues.</p>
<p>So there isn&#8217;t too much left to do, just a few PHP fixes here and there, and then probably a bit of CSS trickery to deal with the product info page dependent on the photo size.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/10/site-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contribution List</title>
		<link>http://www.oscommercetemplates.net/2006/09/contribution-list/</link>
		<comments>http://www.oscommercetemplates.net/2006/09/contribution-list/#comments</comments>
		<pubDate>Thu, 28 Sep 2006 20:37:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>
		<category><![CDATA[Shop Setup]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/blog/?p=17</guid>
		<description><![CDATA[So today we decided to start adding the contributions to the new site. Armed with my new file comparison software I made a list of the contributions needed and set to work adding them in to the site code. Contributions Used: Auto Thumbnailer More Pics Customer Title Purchase Without Account All went fine until I <a href='http://www.oscommercetemplates.net/2006/09/contribution-list/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So today we decided to start adding the contributions to the new site. Armed with my new <a href="http://www.oscommercetemplates.net/blog/?p=14">file comparison software</a> I made a list of the contributions needed and set to work adding them in to the site code.</p>
<p>Contributions Used:</p>
<ul>
<li><a href="http://www.oscommercetemplates.net/blog/?p=9">Auto Thumbnailer</a></li>
<li><a href="http://www.oscommercetemplates.net/blog/?p=11">More Pics</a></li>
<li><a href="http://www.oscommercetemplates.net/blog/?p=13">Customer Title</a></li>
<li><a href="http://www.oscommercetemplates.net/blog/?p=16">Purchase Without Account</a></li>
</ul>
<p>All went fine until I realised that the Customer Title contrib has been designed to be used with PWA 0.8, and the latest version of PWA is 1.12+ and has been written in a completely different way. I first used the Title contrib on another existing store which is running on an earlier version of PWA and the contrib merged in fine, but with this new version several of the PWA files are not used now as it&#8217;s been set to use existing files instead, which is fine except that I can&#8217;t seem to get the Title to save and display on the order pages and invoice.</p>
<p>To add to that the auto thumbnailer is not working on the product info page for the main product, yet it is working on the product listings pages and on the extra pics, so again a bit baffling and some more code that I&#8217;ll have to go through to determine what&#8217;s being missed and where. I had the thumbnailer working on my test site so clearly something is slightly different which is causing it to not play ball.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/09/contribution-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Express Checkout</title>
		<link>http://www.oscommercetemplates.net/2006/09/express-checkout-2/</link>
		<comments>http://www.oscommercetemplates.net/2006/09/express-checkout-2/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 21:51:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/blog/?p=16</guid>
		<description><![CDATA[A lot of customers won&#8217;t want to create an account with you, for whatever reason you don&#8217;t want to deter your customers from buying from you. So an express checkout option is a good idea to let those customers who don&#8217;t want to create an account still purchase from your store. Purchase Without Account does <a href='http://www.oscommercetemplates.net/2006/09/express-checkout-2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>A lot of customers won&#8217;t want to create an account with you, for whatever reason you don&#8217;t want to deter your customers from buying from you. So an express checkout option is a good idea to let those customers who don&#8217;t want to create an account still purchase from your store.</p>
<p><a href="http://www.oscommerce.com/community/contributions,355">Purchase Without Account</a> does the job well for this. It gives a quick route for purchasing keeping both you and your customers happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/09/express-checkout-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing Code</title>
		<link>http://www.oscommercetemplates.net/2006/09/comparing-code/</link>
		<comments>http://www.oscommercetemplates.net/2006/09/comparing-code/#comments</comments>
		<pubDate>Tue, 26 Sep 2006 21:19:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/blog/?p=14</guid>
		<description><![CDATA[When you start to customise your site from the default installation, adding contributions can become a harder job as you obviously cannot just overwrite the file with the contribution file otherwise you&#8217;ll lose your changes. So you have to compare the two sets of code to see what&#8217;s changed in the contribution file and copy <a href='http://www.oscommercetemplates.net/2006/09/comparing-code/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>When you start to customise your site from the default installation, adding contributions can become a harder job as you obviously cannot just overwrite the file with the contribution file otherwise you&#8217;ll lose your changes. So you have to compare the two sets of code to see what&#8217;s changed in the contribution file and copy that into your own file &#8211; a long and tedious job at times.</p>
<p>Most contributions mention about using a file comparison program which I downloaded today to try it out after I was going crossed eyed at comparing files manually. <a href="http://www.scootersoftware.com/">Beyond Compare</a> is a fantastic program that makes the job ten times easier. After running this program and comparing two files I shot through the comparison so quickly I was amazed. This program could have been used so many times in the past and is definitely on my shopping list of software to buy next month! You get a 30 day trial but it works out to around $30 to buy (I think!).</p>
<p>If you need to compare files then this is the program for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/09/comparing-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Customer Title</title>
		<link>http://www.oscommercetemplates.net/2006/09/customer-title/</link>
		<comments>http://www.oscommercetemplates.net/2006/09/customer-title/#comments</comments>
		<pubDate>Sat, 23 Sep 2006 20:25:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contributions]]></category>

		<guid isPermaLink="false">http://www.oscommercetemplates.net/blog/?p=13</guid>
		<description><![CDATA[I&#8217;ve been trying to add the option for a Customer Title (Mr/Mrs/Miss etc) to an existing store. Without thinking of searching through the contributions I first hacked the code around to deal with it myself, however after I was half way through I realised how complicated osCommerce makes things. On every order it copies the <a href='http://www.oscommercetemplates.net/2006/09/customer-title/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to add the option for a Customer Title (Mr/Mrs/Miss etc) to an existing store. Without thinking of searching through the contributions I first hacked the code around to deal with it myself, however after I was half way through I realised how complicated osCommerce makes things. On every order it copies the customer&#8217;s name and address into a different table thus duplicating the information instead of just referencing the address via a record id. So even if you update the customer&#8217;s details the order details for the customer doesn&#8217;t update (try this with an order, update the customer&#8217;s details and then view the customer&#8217;s order and you&#8217;ll see their details haven&#8217;t changed!).</p>
<p>I had the bulk of the customer&#8217;s title script working until I realised it wasn&#8217;t working for the Express Checkout option that is already installed on the site. This of course doesn&#8217;t use the database in the same way, but relies on sessions more. So after trying to figure out how to fix this I took a look in the contributions on the <a href="http://www.oscommerce.com">osCommerce site</a> and came across a <a href="http://www.oscommerce.com/community/contributions,2444"> Customer Title</a> contribution which also worked with the <a href="http://www.oscommerce.com/community/contributions,355">Purchase Without Account</a> Contribution, which is the express checkout contribution running on the web site. Great, I thought, this should fix all the issues.</p>
<p>So I grabbed the contribution and updated the site files with the code from it, updated the database and tested it on a test site &#8211; worked fine apart from one issue, the title wasn&#8217;t displaying on an invoice after an order had been made. I then spent an hour or so comparing the code from the contribution to all the admin files trying to connect the dots on how the address was displayed to where it came from etc. Eventually I discovered that all of my code was correct however the actual customer&#8217;s title wasn&#8217;t being pulled from the database, once I&#8217;d fixed that it all worked perfectly <img src='http://www.oscommercetemplates.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For anyone who does use the contribution and finds the same problem I did simply edit line 28 (ish) in /admin/includes/classes/order.php from</p>
<p><code>$order_query = tep_db_query("select customers_name, customers_company, etc.</code></p>
<p>to</p>
<p><code>$order_query = tep_db_query("select customers_title, delivery_title, billing_title, customers_name, customers_company, etc.</code></p>
<p>This then pulls the titles out which is what the address format function needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oscommercetemplates.net/2006/09/customer-title/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

