<?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>BearSols &#187; Open Source</title><atom:link href="http://web.bearsols.com/category/open-source/feed" rel="self" type="application/rss+xml" /><link>http://web.bearsols.com</link><description></description><lastBuildDate>Fri, 08 Oct 2010 09:22:04 +0000</lastBuildDate><language>en</language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><item><title>Understanding OsCcommerce</title><link>http://web.bearsols.com/open-source/oscommerce/understanding-osccommerce</link><comments>http://web.bearsols.com/open-source/oscommerce/understanding-osccommerce#comments</comments><pubDate>Thu, 15 Apr 2010 22:18:56 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=344</guid><description><![CDATA[The Internet has become a popular place to do business. Now that there are several options available to everyone, everywhere, the need for viable options is imminent. Likewise, companies offering their services online, whether exclusively, or in conjunction with their traditional means of operation, need ways to quickly and efficiently do business, while making sure [...]]]></description><content:encoded><![CDATA[<p>The Internet has become a popular place to do business. Now that there are several options available to everyone, everywhere, the need for viable options is imminent. Likewise, companies offering their services online, whether exclusively, or in conjunction with their traditional means of operation, need ways to quickly and efficiently do business, while making sure their customer information is safe and secure. This is why it has become necessary to find an OsCommerce solution.</p><p>OsCommerce is an online solution for E-Commerce that is currently under ongoing development by the open source community. This means that it is continually worked on by those in the industry who understand its need and are able to experiment to find out the best solutions. Through the open source community, information is shared in order to provide optimal assistance toward solving both common and uncommon problems that may arise. It also allows store owners to set up, run, and maintain their online solutions with little to no effort, which enables them to concentrate more on the business aspect than the technical issues.</p><p>The best part of OsCommerce is that it is free. There are no licensing fees or costs involved, which is often one of the most attractive characteristics of open source solutions. OsCommerce combines open source solutions together to provide a free and open E-Commerce platform, which includes the PHP web scripting language, a stable Apache web server, and the MySQL database server. This scripting language is powerful and the server fast, which allows for more seamless transactions to take place.</p><p>There are no restrictions or special requirements with OsCommerce, and it is, therefore, able to run on any PHP enabled web server, along with a variety of supported environments. This broadens the spectrum for OsCommerce to work on several operating system environments and in multiple situations.</p><p>OsCommerce began in 2000, and has now matured into a solution that is currently powering a wide variety of online shops around the globe. The services it offers are helping business owners in many ways, and are making it easier for them to concentrate on keeping their business up and running, while serving a constantly growing number of customers on a daily basis. It has also made it easier for potential customers to find businesses, and to purchase products and services more quickly and efficiently. It is serving both the business owner and the customer in ways that will only help E-commerce get better.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/understanding-osccommerce/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>Why using an Osc template for your shopping site</title><link>http://web.bearsols.com/open-source/oscommerce/why-using-an-osc-template-for-your-shopping-site</link><comments>http://web.bearsols.com/open-source/oscommerce/why-using-an-osc-template-for-your-shopping-site#comments</comments><pubDate>Thu, 15 Apr 2010 22:18:36 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=342</guid><description><![CDATA[Going shopping is an activity that one way or another we all have. Either by going to the market or to buy clothes, somehow it is part of us. But, with the development of the computers and of the Internet, some brilliant minds thought that it would be even better if people who do not [...]]]></description><content:encoded><![CDATA[<p>Going shopping is an activity that one way or another we all have. Either by going to the market or to buy clothes, somehow it is part of us. But, with the development of the computers and of the Internet, some brilliant minds thought that it would be even better if people who do not have enough time to spend in shops, could buy stuff over the Internet. So online shopping has spread, nowadays, over all the domains, from clothes to electronic equipments. Logically, online shopping is strictly connected to the use of websites, because through the sites, people can place orders.</p><p>First of all, whenever you launch a shopping site the most important thing that you should take care of is the layout. Why? Simple. Who does not enjoy entering a website that has a nice, smooth design, something that catches the eye and makes the surfing interesting? Also, the layout should be clear and easy to work with. But the next question is, how can someone realize this when the knowledge about html is little or the sum of money is not very big? The solution: oscommerce templates.</p><p>Easily to use and to update without any developed web designing skills, for many beginners this kind of web templates are the perfect option. They are already made so you can, in a way, preview the look of your site. Also they can be easily modified and updated, and moreover, they have no errors, so there won&#8217;t be any worries concerning a line or a box not being where it should.</p><p>Oscommerce templates are made by web design specialists and put at your disposal in several shapes and colors. There are many such templates that can be found over the world wide web. Anyway, even though you must pay for them, the price is lower than if you would pay a web designer to create a personalized page.<br />This would also take much longer and much more stress might be involved because the final result may not show up like you hoped or thought. On the other hand, oscommerce templates give you the exact image as how your page will look.</p><p>The diversity is large and for all the possible purposes. Keep in mind that if you decide to launch an online shopping site, the layout you choose must be accessible and clear, the information you give must be specific and trustful. The design should be simple and neat. Some persons may consider a very complicated web layout as being hard to use.</p><p>As a conclusion, I want to say that it is not a shame to use an oscommerce template instead of hiring a web design team to create your own shopping site design. These web site layouts are made for you to use and are actually created by specialists to ease the work, mostly, for the beginners.</p><p>Before starting your own shopping website you should think what you really want to do, how your site should look, and then choose from the large number of web templates, the one that fits better. Good luck.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/why-using-an-osc-template-for-your-shopping-site/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>The truth about osCommerce templates</title><link>http://web.bearsols.com/open-source/oscommerce/the-truth-about-oscommerce-templates</link><comments>http://web.bearsols.com/open-source/oscommerce/the-truth-about-oscommerce-templates#comments</comments><pubDate>Thu, 15 Apr 2010 22:17:58 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=340</guid><description><![CDATA[You can find many osCommerce templates on the Internet and they might seem like an easy way to get a good looking ecommerce site running with only a small investment of time and effort. The truth is that most of the osCommerce templates that you can find on the Internet are made to look good [...]]]></description><content:encoded><![CDATA[<p>You can find many osCommerce templates on the Internet and they might seem like an easy way to get a good looking ecommerce site running with only a small investment of time and effort. The truth is that most of the osCommerce templates that you can find on the Internet are made to look good but without a care for the functionality of the system. Template designers are just looking to make quick money by selling you a template, their involvement in your store ends when you buy their template. When installing a template you must be aware that the ecommerce site you are installing will generally be the default installation of osCommerce with only aesthetic modifications. To progress the template to a robust ecommerce system that will cater for the needs of your business could be an arduous task. The aesthetic modifications made by template designers generally complicate matters and it would be much more beneficial to start from scratch.</p><p><strong>Make your own osCommerce store<br /></strong><br />If you have enough spare time to learn the system properly osCommerce will reward your dedication. You will be able to create a very versatile ecommerce system in only a few months, even if you&#8217;ve never done web development before. The huge online community is a testament to the flexibility of osCommerce and helps to keep you on the right track. If you get stuck on anything just ask in the forums and someone will jump to your rescue. Bare in mind that to get help you first have to show you have done your homework, don&#8217;t just ask for help from the very start without reading the documentation. Read the manual and check the knowledge base as they are both great resources for someone just starting with osCommerce. Once you have become comfortable with the osCommerce way and have learnt the basics of the system and how to modify the code to your needs you should start looking at the thousands of contributed modules available. There are currently around 4000 modules or addons that have been contributed by the community. These can take your site to the next level and instructions are usually very easy to follow.</p><p>After you have done this you will probably be in a position to start contributing your own custom code and addons to the project. This is the way open source software flourishes and your involvement in the project won&#8217;t go unnoticed.</p><p><strong>Speak to the professionals<br /></strong><br />If you don&#8217;t have time for all this exploration and learning then you need to speak to the professionals. We at Freestyle Systems have our own code base that we have been working on almost constantly for many months. We have worked out the major kinks in the default installation and can provide robust ecommerce systems for a very reasonable fee. When you hire a professional company to do your design and development they unlikely to leave you in the lurch like the template designers. We at Freestyle Systems pride ourselves in creating extremely robust osCommerce systems for our clients. If you want the benefits of a solid, effective ecommerce solution but don&#8217;t have the time or manpower to go it alone, come and speak to us. We will be more than happy to answer any of your osCommerce related questions.</p><p><strong>Word of warning<br /></strong><br />Just because a company seems professional it doesn&#8217;t mean they will give your business the attention it deserves. Take some time to explain what you want in detail and see what they have to say. If they are only prepared to give you a brief answer to your questions then don&#8217;t trust them. They will no doubt follow this attitude through to the design and development of your site. We see this all the time and it&#8217;s a real shame. You will know when a company is the right choice by the attention to detail they give in response to your query.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/the-truth-about-oscommerce-templates/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>The 4 basic steps of customizing or integrating osCommerce</title><link>http://web.bearsols.com/open-source/oscommerce/the-4-basic-steps-of-customizing-or-integrating-oscommerce</link><comments>http://web.bearsols.com/open-source/oscommerce/the-4-basic-steps-of-customizing-or-integrating-oscommerce#comments</comments><pubDate>Thu, 15 Apr 2010 22:17:43 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=338</guid><description><![CDATA[osCommerce is a great tool for developers to create complete e-commerce websites in a flash. But sometimes we don&#8217;t always need the entire store to be osCommerce. Sometimes we already have a beautifully designed website and we just want to use the osCommerce shopping cart and e-commerce abilities. Unfortunately, osCommerce does not have any features [...]]]></description><content:encoded><![CDATA[<p>osCommerce is a great tool for developers to create complete e-commerce websites in a flash. But sometimes we don&#8217;t always need the entire store to be osCommerce. Sometimes we already have a beautifully designed website and we just want to use the osCommerce shopping cart and e-commerce abilities. Unfortunately, osCommerce does not have any features or versions that allow you to just install the shopping cart.</p><p>But in fact, there is a pretty quick and easy way to integrate osCommerce with your website.</p><p><span style="text-decoration: underline;">Note</span>: This article assumes you&#8217;ve already added your products to the osCommerce database.</p><p><strong>Steps</strong></p><p><strong>1: Initialize the osCommerce variables</strong></p><p>When a user first adds a product to your shopping cart, osCommerce assigns a shopping cart to them based on a cookie it sets. But before it will do that, it checks to see if a cookie named &#8220;cookie_test&#8221; was accepted. If it was accepted, it will assign a cookied named &#8220;osCsid&#8221; which will serve to uniquely identify your users. But if this cookie is not set the user will be directed to the infamous &#8220;cookie usage&#8221; page. For that reason, and some others, you must do the following to every page of your website that a user may go to.</p><p>At the very top of every page on your website, add the following code: . And yes, this means all of your .html pages will need to be converted to .php files.</p><p><strong>2: Create your template<br /></strong><br />Take one of your webpages that you would like the osCommerce pages to look like and remove its content and keep only the essential design elements and navigation you need. Essentially, you&#8217;re creating a template for your website.</p><p><strong>3: Customize the osCommerce pages<br /></strong><br />Take your newly created template and save it with the same name as the osCommerce page you want to customize. For example, if you want to make the shopping cart integrate with your template, name the page shopping_cart.php but ensure it&#8217;s in a different directory so you do not write over the original. Now, open the original file that came with osCommerce (shopping_cart.php in our example) and copy the code from the very beginning to right before the tags. Now paste this code to the top of the the page you created from your template. Next, you&#8217;ll want to take any of the javascript found between the tags in the original file and paste those in between the tags of your new file. Finally, scroll down your original file until you see the code. Copy the text between<br />and and paste it into the spot you designated for osCommerce output in the file you created from your template.</p><p>Now the page&#8217;s look should match your website well, but you may need to make some additional tweaks in your stylesheet to match any classes the osCommerce code is using.</p><p>Then just upload your new page and overwrite the original. Repeat this until all of the osCommerce pages have been customized.</p><p><strong>4: Add osCommerce to your products pages<br /></strong><br />In order to allow users to add your products to the shopping cart, you need to do one simple step to be able to add the product to the cart. Open your products page and add the following underneath each item:</p><p>This form will allow a product to be added to the cart. It determines which product to add based on the value supplied in the [textbox] tag. Your products_id is determined by the value you specified for you product when you added it to<br />the database.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/the-4-basic-steps-of-customizing-or-integrating-oscommerce/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>Shopping Cart Scripts Review</title><link>http://web.bearsols.com/open-source/oscommerce/shopping-cart-scripts-review</link><comments>http://web.bearsols.com/open-source/oscommerce/shopping-cart-scripts-review#comments</comments><pubDate>Thu, 15 Apr 2010 22:17:29 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=336</guid><description><![CDATA[OsCommerce is an open source software to create online shops. Many hosting providers include osCommerce into their Fantastico bundle. Even the default version is full of various features while add-ons may expand the script abilities to an enormous extent. While osCommerce is positioned as easy to install and configure, this is not always true. In [...]]]></description><content:encoded><![CDATA[<p>OsCommerce is an open source software to create online shops. Many hosting providers include osCommerce into their Fantastico bundle. Even the default version is full of various features while add-ons may expand the script abilities to an enormous extent. While osCommerce is positioned as easy to install and configure, this is not always true. In order to utilize all the advantages of osCommerce you&#8217;d better find a qualified integrator of this product who will tune everything the way you need it.</p><p>OsCommerce shopping cart allow you to add multiple products and organize them, run discounts and promotions, set prices in different currencies and accept payments through all most popular methods.</p><p>X-Cart is another popular and powerful solution. This shopping cart script has more than 100 features and it has a very demanded module that allows to deliver software products online.</p><p>X-Cart payment gateway supports over 60 different methods and the cart itself is very comfortable and easy to configure. The developers of the script offer installation and configuration services so that you can have a turn-key project in the end.</p><p>X-Cart is a commercial script offered in two varieties &#8211; Pro and Gold. The only difference between them is that the Pro version allows you to set up unique accounts for different merchants.</p><p>CubeCart is an open source script which is very similar to osCommerce and other shopping cart solutions alike. CubeCart needs your hosting to support PHP and MySQL. The script has extended configuration capabilities and can be connected to different payment gateways including PayPal and VeriSign.</p><p>Zen Cart is an open source product developed by a group of shop owners who know what they need in product implementing this into Zen Cart. Designers, programmers and ecommerce consultants help them on the way. This is probably one of the most user-friendly shopping cart scripts, though the functionality is still to be extended.</p><p>Shopping cart script named Agora is also quite a popular solution which is like osCommerce is often bundled into hosting providers&#8217; Fantastico installation packs. It is one of the best shopping carts for beginners and has enough features to satisfy advanced users as well. Agora is famous for the excellent tutorials and support forums. Even if your HTML knowledge is not your strong side, it is quite possible you&#8217;ll be able to set up a nice online shop if you use Agora.</p><p>Of course, it&#8217;s up to you what to choose. It could be a wise decision to try all of the products described above and maybe some else to understand which of them offers the features you really need to create the online shop you think will be fantastic. Sometimes open source projects are more suitable than commercial ones. Sometimes it&#8217;s the other way round.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/shopping-cart-scripts-review/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>Seo optimization for your Oscommerce template</title><link>http://web.bearsols.com/open-source/oscommerce/seo-optimization-for-your-oscommerce-template</link><comments>http://web.bearsols.com/open-source/oscommerce/seo-optimization-for-your-oscommerce-template#comments</comments><pubDate>Thu, 15 Apr 2010 22:17:12 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=334</guid><description><![CDATA[First things first, you have downloaded a template for oscommerce and you have either picked categories and uploaded products or are ready to do so. The first thing you need to do to make your oscommerce site search engine friendly is to pick a title that is consistent with the products you will be carrying, [...]]]></description><content:encoded><![CDATA[<p>First things first, you have downloaded a template for oscommerce and you have either picked categories and uploaded products or are ready to do so. The first thing you need to do to make your oscommerce site search engine friendly is to pick a title that is consistent with the products you will be carrying, also descriptive enough that search engines and people searching for your product are likely to find your site and glad they did. You do not want a page title of &#8220;oscommerce&#8221; . You will need to change your page title to fit your specific item, a small description of what your page has to offer is what you want in your title. If you are selling &#8220;gifts&#8221;, do not use gifts as the page title, basic common sense should tell us that there is alot of competition for the keyword &#8220;gifts&#8221;, and we are probably not going to rank high for that keyword. A good example of someone selling &#8220;gifts&#8221; page title would be (gifts at excellent prices &#8211; gifts for all occasions) this is a small informative description search engines will recognize and people searching will click on.</p><p>The best way to control your page titles and metatags for an oscommerce store is to download and install the header tags controller contribution. this will be the first search engine friendly module that you will want to download and use to start optimizing your site. I found the install to be complicated, confusing, and not work, until I found the full install that already had the modifications performed on each file. All you have to do is replace your old files with the new ones provided, and you will be ready to go.</p><p>If you already have categories and products, make a complete backup of your oscommerce template files. The best way to do this is to use your FTP program to download a complete folder to your desktop containing all of your site files. Then go to your oscommerce admin and make a backup of your database and save it on your desktop. Do this every time you are about to make major modifications to your site, and get used to it. The one time that you do not have a current backup of your entire oscommerce store, is the time you will be sorry that you did not.</p><p>Header Tags Controller allows for unique Header Tags for: Title, Keywords, and Description on a per page basis.</p><p>Download it, unzip it, and upload it to your oscommerce host with your FTP program making sure to overwrite the corresponding directories with the new ones. Because you are overwriting files, it is best to have none, or only a few categories and/or products at this time, that is why I pick this as the first module install for search engine optimization of your oscommerce website.</p><p>Now that you Header Tags Controller installed you will need to configure it:</p><p>1. Login to your oscommerce admin<br />2. Go to header tags controller in the left menu<br />3. Click on text control</p><p>This is where you will enter in the descriptive title you have chosen to be on your index page. Enter it for index.php.</p><p>You can also put a description that is a longer version of the title and should also be written in a way that describes the goods or service you are selling.</p><p>The keywords box is not necessary to fill in. The 3 major search engines Google, Yahoo, and MSN will ignore this tag and will determine what keywords you are found under.</p><p>Save your work.</p><p>Next, if you already have products at your site you will want to go to the &#8216;fill tags&#8217; option at the left menu and click button &#8216;fill all tags&#8217; for categories and products and press &#8216;update&#8217; you will now notice that you have unique page titles for your categories and products pages, based off of the names you gave your categories and products. This may be a good time to evaluate the name you have picked for your categories and products. Once again keep in mind what people will be looking for.</p><p>If you have not added products and categories yet, now is a good time to start. Every category and product will now generate the metatags and page title that you give it. This is the first step in optimizing your oscommerce site to make it search engine friendly.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/seo-optimization-for-your-oscommerce-template/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>Search Engine Friendly URLs For osCommerce</title><link>http://web.bearsols.com/open-source/oscommerce/search-engine-friendly-urls-for-oscommerce</link><comments>http://web.bearsols.com/open-source/oscommerce/search-engine-friendly-urls-for-oscommerce#comments</comments><pubDate>Thu, 15 Apr 2010 22:16:31 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=332</guid><description><![CDATA[In this article we&#8217;ll discuss why Search Engine Friendly (SEF) URLs in an osCommerce store are vital to the overall site Search Engine Optimization (SEO). Also covered are the different contributions and methods available for transforming category, product, and manufacturer links to a more spider friendly version.If you&#8217;ve successfully launched your osCommerce store, you&#8217;ve no [...]]]></description><content:encoded><![CDATA[<p>In this article we&#8217;ll discuss why Search Engine Friendly (SEF) URLs in an osCommerce store are vital to the overall site Search Engine Optimization (SEO). Also covered are the different contributions and methods available for transforming category, product, and manufacturer links to a more spider friendly version.</p><p>If you&#8217;ve successfully launched your osCommerce store, you&#8217;ve no doubt turned your attention to attracting customers to your site and making sales. Of course, your main focus is where your site shows up in the most popular search engine result pages, or SERPs for short. In doing searches for products you offer on search engines like Google, Yahoo!, or MSN, your site is probably near the bottom in the SERPs. So the question is, what simple changes can you make to improve your store&#8217;s ranking with respect to competing websites.</p><p>Among many other SEO modifications you can make to improve your site, like meta tag optimizations, targeted and keyword-rich product descriptions, etc., perhaps the first you should consider is Search Engine Friendly URLs. A &#8220;clean&#8221; version of osCommerce (one having no modifications or major configuration changes) doesn&#8217;t produce category, product, or manufacturer links containing relevant content or keywords. By default, these links point to a file with a database id in the parameters. Store owners do have the option to enable a pre-installed module for producing SEF URLs, but this doesn&#8217;t provide the customer, or for that matter a search engine, with a discernible URL in relation to the category or product. The scripting simply splits the parameters, reassembles the URL with forward slashes, and still suffixes it with the appropriate database id. Although the forward slash is more friendly to URLs than the question mark and many ampersands, the link is still non-descriptive.</p><p>That being said, there are many alternate contributions and/or modifications out there to relate your osCommerce URLs to category, product, and manufacturer names and descriptions. Having worked on many stores with previous modifications, I&#8217;ve seen every form of URL tweaking you can imagine. One such example includes creating subfolders within your website for each product/category, creating a small index.php file within each, and coding that file to redirect back to product_info.php for each designated product_id. This method does make page links more descriptive, but if you&#8217;ve got a lot of products and products, the task can become quite labor intensive.</p><p>Simpler, more efficient modules do exist for osCommerce. My personal experience is that the Ultimate SEO URLs (USU) and Search Engine Friendly URL (SEFU) contributions are the most stable. There are, however, differences between the two packages. The contributions, using different rewrite scripts, translated URLs as illustrated below.</p><ul><li><strong>Ultimate SEO URLs</strong><p>http://www.yourstore.com/catalog/product_info.php?products_id=X</p><p>becomes&#8230;</p><p>http://www.yourstore.com/catalog/product-name-p-X.html</li><li><strong>Search Engine Friendly URL</strong><p>http://www.yourstore.com/catalog/product_info.php?products_id=X</p><p>becomes&#8230;</p><p>http://www.yourstore.com/catalog/category-name/product-name</li></ul><p>The Ultimate SEO URLs and Search Engine Friendly URL modules both have advantages and disadvantages. Let&#8217;s compare the two side-by-side&#8230;</p><table border="1" cellspacing="0" cellpadding="5" width="90%" align="\" bordercolor="#00eee0"><tbody><tr><td></td><td align="\"><strong>Ultimate SEO URLs</strong></td><td align="\"><strong>Search Engine Friendly URL</strong></td></tr><tr><td>Eliminates URL Parameters?</td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td></tr><tr><td>Requires osCommerce SEF URLs enabled?</td><td align="\"><span style="color: #00f000;"><strong>NO</strong></span></td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td></tr><tr><td>Cache for Improved Site Performance?</td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td><td align="\"><span style="color: #00f000;"><strong>NO</strong></span></td></tr><tr><td>Moves Product Display To Index.php?</td><td align="\"><span style="color: #00f000;"><strong>NO</strong></span></td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td></tr><tr><td>Requires Edit of Root .htaccess?</td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td><td align="\"><span style="color: #000f00;"><strong>YES</strong></span></td></tr></tbody></table><p>In comparing these modules, you can see the major differences are performance and compatibility. If you wish to install SEFU in your osCommerce store, test the standard &#8220;Use Search-Engine Safe URLs (still in development)&#8221; configuration setting. Set it to &#8220;True&#8221;, and test the links in your store. If you get an error message stating &#8220;Error: unable to determine page link&#8221;, you won&#8217;t be able to use this module. Also, both modules require editing of the root folder .htaccess file. If your host doesn&#8217;t allow this, neither will contribution will work.</p><p>Our experience with osCommerce stores in use on a variety of servers is that due to the caching provided by USU, overall performance does not suffer from the URL rewriting. Also, as an added benefit, this package carries the capability to perform similar URL rewriting for the Article Manager and Information Pages Unlimited contributions. Given these facts, we recommend installing the Ultimate SEO URLs module.</p><p>In conclusion, I cannot emphasize enough the importance of quality, unique, and keyword rich content in your product descriptions. Internet marketing experts all agree that organic content is becoming more and more important in search engine algorithms. Also, in addition to your product descriptions, that you can create great, relevant content by creating FAQ topics and articles like these within your osCommerce store.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/search-engine-friendly-urls-for-oscommerce/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>Running osCommerce with Register Globals Off</title><link>http://web.bearsols.com/open-source/oscommerce/running-oscommerce-with-register-globals-off</link><comments>http://web.bearsols.com/open-source/oscommerce/running-oscommerce-with-register-globals-off#comments</comments><pubDate>Thu, 15 Apr 2010 22:16:17 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=330</guid><description><![CDATA[There are several tutorials and contributions on how to run osCommerce with register_globals Off. However, all are very complicated, break compatibility with other contributions such as payments or delivery modules and are not compatible with both PHP4 and PHP5.We made a very simple MOD, which allows you to run osCommerce on any PHP powered server [...]]]></description><content:encoded><![CDATA[<p>There are several tutorials and contributions on how to run osCommerce with register_globals Off. However, all are very complicated, break compatibility with other contributions such as payments or delivery modules and are not compatible with both PHP4 and PHP5.</p><p>We made a very simple MOD, which allows you to run osCommerce on any PHP powered server with disabled Register Globals including PHP4 and PHP5. This MOD also work with register_globals = On, so if your provider changes the configuration of the web server without your knowledge, osCommerce powered shopping cart will remain untouched.</p><p>You need to apply this MOD especially, when you are receiving one of the following messages:</p><div class="quote">Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.</p><p>FATAL ERROR: register_globals is disabled in php.ini, please enable it!</div><p><strong>MOD Title: </strong>osCommerce 2.2ms2-060817 Register Globals Off Workaround for PHP4 and PHP5<br /><strong>MOD Author:</strong> Jiri Stavinoha<br /><strong>MOD Description: </strong>Allow to run osCommerce 2.2ms2 on web servers with Register Globals Off or On (PHP4 and PHP5 compatible)</p><p><strong>INSTALLATION INSTRUCTIONS</p><p>OPEN: </strong></p><div class="code">catalog/includes/application_top.php</div><p><strong>FIND: </strong></p><div class="code">// start the timer for the page parse time log<br />&nbsp; define(&#39;PAGE_PARSE_START_TIME&#39;, microtime());</div><p><strong>BEFORE, ADD: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com</p><p>&nbsp; if (version_compare(phpversion(), &quot;4.1.0&quot;, &quot;&lt;&quot;) === true) {<br />&nbsp;&nbsp;&nbsp; $_GET &amp;= $HTTP_GET_VARS;<br />&nbsp;&nbsp;&nbsp; $_POST &amp;= $HTTP_POST_VARS;<br />&nbsp;&nbsp;&nbsp; $_SERVER &amp;= $HTTP_SERVER_VARS;<br />&nbsp;&nbsp;&nbsp; $_FILES &amp;= $HTTP_POST_FILES;<br />&nbsp;&nbsp;&nbsp; $_ENV &amp;= $HTTP_ENV_VARS;<br />&nbsp;&nbsp;&nbsp; if (isset($HTTP_COOKIE_VARS)) $_COOKIE &amp;= $HTTP_COOKIE_VARS;<br />&nbsp; }</p><p>&nbsp; if (!ini_get(&quot;register_globals&quot;)) {<br />&nbsp;&nbsp;&nbsp; extract($_GET, EXTR_SKIP);<br />&nbsp;&nbsp;&nbsp; extract($_POST, EXTR_SKIP);<br />&nbsp;&nbsp;&nbsp; extract($_COOKIE, EXTR_SKIP);<br />&nbsp; }</div><p><strong>FIND: </strong></p><div class="code">// check if register_globals is enabled.<br />// since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.<br />&nbsp; if (function_exists(&#39;ini_get&#39;)) {<br />&nbsp;&nbsp;&nbsp; ini_get(&#39;register_globals&#39;) or exit(&#39;Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.&#39;);<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Check if register_globals is enabled.<br />// Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.<br />&nbsp; /*if (function_exists(&#39;ini_get&#39;)) { // Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp;&nbsp;&nbsp; ini_get(&#39;register_globals&#39;) or exit(&#39;Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.&#39;);<br />&nbsp; }*/</div><p><strong>FIND: </strong></p><div class="code">// set SID once, even if empty<br />&nbsp; $SID = (defined(&#39;SID&#39;) ? SID : &#39;&#39;);</div><p><strong>BEFORE, ADD: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; if (!ini_get(&quot;register_globals&quot;)) {<br />&nbsp;&nbsp;&nbsp; if (version_compare(phpversion(), &quot;4.1.0&quot;, &quot;&lt;&quot;) === true) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (isset($HTTP_SESSION_VARS)) $_SESSION &amp;= $HTTP_SESSION_VARS;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; if(!empty($_SESSION)) extract($_SESSION, EXTR_SKIP);<br />&nbsp; }</div><p><strong>OPEN: </strong></p><div class="code">catalog/includes/functions/sessions.php</div><p><strong>FIND: </strong></p><div class="code">&nbsp; function tep_session_register($variable) {<br />&nbsp;&nbsp;&nbsp; global $session_started;</p><p>&nbsp;&nbsp;&nbsp; if ($session_started == true) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return session_register($variable);<br />&nbsp;&nbsp;&nbsp; } else {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</p><p>&nbsp; function tep_session_is_registered($variable) {<br />&nbsp;&nbsp;&nbsp; return session_is_registered($variable);<br />&nbsp; }</p><p>&nbsp; function tep_session_unregister($variable) {<br />&nbsp;&nbsp;&nbsp; return session_unregister($variable);<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; function tep_session_register($variable) {<br />&nbsp;&nbsp;&nbsp; global $session_started;<br />&nbsp;&nbsp;&nbsp; if ($session_started == true) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $_SESSION[$variable] = null;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;<br />&nbsp;&nbsp;&nbsp; } else {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</p><p>&nbsp; function tep_session_is_registered($variable) {<br />&nbsp;&nbsp;&nbsp; if(isset($_SESSION[$variable])) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;<br />&nbsp;&nbsp;&nbsp; } else {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</p><p>&nbsp; function tep_session_unregister($variable) {<br />&nbsp;&nbsp;&nbsp; unset($_SESSION[$variable]);<br />&nbsp; }</div><p><strong>FIND: </strong></p><div class="code">&nbsp; function tep_session_close() {<br />&nbsp;&nbsp;&nbsp; if (PHP_VERSION &gt;= &#39;4.0.4&#39;) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return session_write_close();<br />&nbsp;&nbsp;&nbsp; } elseif (function_exists(&#39;session_close&#39;)) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return session_close();<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; function tep_session_close() {<br />&nbsp;&nbsp;&nbsp; foreach($_SESSION as $key =&gt; $value) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global $$key;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $_SESSION[$key] = $$key;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</div><p><strong>OPEN: </strong></p><div class="code">catalog/admin/includes/application_top.php</div><p><strong>FIND: </strong></p><div class="code">// Start the clock for the page parse time log<br />&nbsp; define(&#39;PAGE_PARSE_START_TIME&#39;, microtime());</div><p><strong>BEFORE, ADD: </strong></p><div class="code">&nbsp; // Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; if (version_compare(phpversion(), &quot;4.1.0&quot;, &quot;&lt;&quot;) === true) {<br />&nbsp;&nbsp;&nbsp; $_GET &amp;= $HTTP_GET_VARS;<br />&nbsp;&nbsp;&nbsp; $_POST &amp;= $HTTP_POST_VARS;<br />&nbsp;&nbsp;&nbsp; $_SERVER &amp;= $HTTP_SERVER_VARS;<br />&nbsp;&nbsp;&nbsp; $_FILES &amp;= $HTTP_POST_FILES;<br />&nbsp;&nbsp;&nbsp; $_ENV &amp;= $HTTP_ENV_VARS;<br />&nbsp;&nbsp;&nbsp; if (isset($HTTP_COOKIE_VARS)) $_COOKIE &amp;= $HTTP_COOKIE_VARS;<br />&nbsp; }</p><p>&nbsp; if (!ini_get(&quot;register_globals&quot;)) {<br />&nbsp;&nbsp;&nbsp; extract($_GET, EXTR_SKIP);<br />&nbsp;&nbsp;&nbsp; extract($_POST, EXTR_SKIP);<br />&nbsp;&nbsp;&nbsp; extract($_COOKIE, EXTR_SKIP);<br />&nbsp; }</div><p><strong>FIND:</strong></p><div class="code">// Check if register_globals is enabled.<br />// Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.<br />&nbsp; if (function_exists(&#39;ini_get&#39;)) {<br />&nbsp;&nbsp;&nbsp; ini_get(&#39;register_globals&#39;) or exit(&#39;Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.&#39;);<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Check if register_globals is enabled.<br />// Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.<br />&nbsp; /*if (function_exists(&#39;ini_get&#39;)) { // Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp;&nbsp;&nbsp; ini_get(&#39;register_globals&#39;) or exit(&#39;Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.&#39;);<br />&nbsp; }*/</div><p><strong>FIND: </strong></p><div class="code">// lets start our session<br />&nbsp; tep_session_start();</div><p><strong>AFTER, ADD: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; if (!ini_get(&quot;register_globals&quot;)) {<br />&nbsp;&nbsp;&nbsp; if (version_compare(phpversion(), &quot;4.1.0&quot;, &quot;&lt;&quot;) === true) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (isset($HTTP_SESSION_VARS)) $_SESSION &amp;= $HTTP_SESSION_VARS;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; if(!empty($_SESSION)) extract($_SESSION, EXTR_SKIP);<br />&nbsp; }</div><p><strong>OPEN:</strong></p><div class="code">catalog/admin/includes/functions/sessions.php</div><p><strong>FIND:</strong></p><div class="code">&nbsp; function tep_session_register($variable) {<br />&nbsp;&nbsp;&nbsp; return session_register($variable);<br />&nbsp; }</p><p>&nbsp; function tep_session_is_registered($variable) {<br />&nbsp;&nbsp;&nbsp; return session_is_registered($variable);<br />&nbsp; }</p><p>&nbsp; function tep_session_unregister($variable) {<br />&nbsp;&nbsp;&nbsp; return session_unregister($variable);<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; function tep_session_register($variable) {<br />&nbsp;&nbsp;&nbsp; $_SESSION[$variable] = null;<br />&nbsp; }</p><p>&nbsp; function tep_session_is_registered($variable) {<br />&nbsp;&nbsp;&nbsp; if(isset($_SESSION[$variable])) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;<br />&nbsp;&nbsp;&nbsp; } else {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</p><p>&nbsp; function tep_session_unregister($variable) {<br />&nbsp;&nbsp;&nbsp; unset($_SESSION[$variable]);<br />&nbsp; }</div><p><strong>FIND: </strong></p><div class="code">&nbsp; function tep_session_close() {<br />&nbsp;&nbsp;&nbsp; if (function_exists(&#39;session_close&#39;)) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return session_close();<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; function tep_session_close() {<br />&nbsp;&nbsp;&nbsp; foreach($_SESSION as $key =&gt; $value) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global $$key;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $_SESSION[$key] = $$key;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }</div><p><strong>OPEN: </strong></p><div class="code">catalog/install/includes/application.php</div><p><strong>FIND: </strong></p><div class="code">// Set the level of error reporting<br />&nbsp; error_reporting(E_ALL &amp; ~E_NOTICE);</div><p><strong>AFTER, ADD: </strong></p><div class="code">&nbsp; // Register Globals MOD - http://www.myoscommercesite.com<br />&nbsp; if (version_compare(phpversion(), &quot;4.1.0&quot;, &quot;&lt;&quot;) === true) {<br />&nbsp;&nbsp;&nbsp; $_GET &amp;= $HTTP_GET_VARS;<br />&nbsp;&nbsp;&nbsp; $_POST &amp;= $HTTP_POST_VARS;<br />&nbsp;&nbsp;&nbsp; $_SERVER &amp;= $HTTP_SERVER_VARS;<br />&nbsp;&nbsp;&nbsp; $_FILES &amp;= $HTTP_POST_FILES;<br />&nbsp;&nbsp;&nbsp; $_ENV &amp;= $HTTP_ENV_VARS;<br />&nbsp;&nbsp;&nbsp; if (isset($HTTP_COOKIE_VARS)) $_COOKIE &amp;= $HTTP_COOKIE_VARS;<br />&nbsp; }</p><p>&nbsp; if (!ini_get(&quot;register_globals&quot;)) {<br />&nbsp;&nbsp;&nbsp; extract($_GET, EXTR_SKIP);<br />&nbsp;&nbsp;&nbsp; extract($_POST, EXTR_SKIP);<br />&nbsp;&nbsp;&nbsp; extract($_COOKIE, EXTR_SKIP);<br />&nbsp; }</div><p><strong>FIND: </strong></p><div class="code">// Check if register_globals is enabled.<br />// Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.<br />&nbsp; if (function_exists(&#39;ini_get&#39;)) {<br />&nbsp;&nbsp;&nbsp; ini_get(&#39;register_globals&#39;) or exit(&#39;FATAL ERROR: register_globals is disabled in php.ini, please enable it!&#39;);<br />&nbsp; }</div><p><strong>REPLACE WITH: </strong></p><div class="code">// Check if register_globals is enabled.<br />// Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.<br />&nbsp; /*if (function_exists(&#39;ini_get&#39;)) {<br />&nbsp;&nbsp;&nbsp; ini_get(&#39;register_globals&#39;) or exit(&#39;FATAL ERROR: register_globals is disabled in php.ini, please enable it!&#39;);<br />&nbsp; }*/</div><p><strong>SAVE/CLOSE ALL FILES </strong></p><p>With some modifications, you can apply this patch to Zen Cart, osCMax and CRE Loaded too!</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/running-oscommerce-with-register-globals-off/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>Personalizing osCommerce</title><link>http://web.bearsols.com/open-source/oscommerce/personalizing-oscommerce</link><comments>http://web.bearsols.com/open-source/oscommerce/personalizing-oscommerce#comments</comments><pubDate>Thu, 15 Apr 2010 22:15:46 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=328</guid><description><![CDATA[Personalizing osCommerceosCommerce is a great open source application for building your online store. While it looks great out of the box, you&#39;ll probably want to change it so that it reflects your store&#39;s personality, so customers will remember it and keep coming back. Dan Wellman explains how to add your logo, colors, products, and make [...]]]></description><content:encoded><![CDATA[<p><strong>Personalizing osCommerce<br /></strong><br />osCommerce is a great open source application for building your online store. While it looks great out of the box, you&#39;ll probably want to change it so that it reflects your store&#39;s personality, so customers will remember it and keep coming back. Dan Wellman explains how to add your logo, colors, products, and make the most of one of the application&#39;s more versatile features.</p><p>osCommerce is an extremely flexible and powerful plug-in shopping cart, catalog, and administration machine all rolled into one. It is open source&#8211;and therefore is available for private or commercial use free of charge under the GNU Public Licence, is widely used and supported, and is part of an extremely large online community. It consists of a catalogue front-end, which can be used in conjunction with your existing site, or as a stand-alone site in its own right; and an extremely easy to use administrative back-end interface.</p><p>It is available right now for download from www.oscommerce.com as a .zip package weighing in at just under 1.5Mb. Also featured on the site is the showcase section with links leading to sites implementing osCommerce, and the community services mini-site containing the forums and documentation.</p><p>The application is PHP based and connects to an SQL database, so your hosting vendor must provide compatible services. It also contains a little JavaScript and a lot of HTML, and is available for either Windows or Linux platforms.</p><p>There is no doubt that osCommerce is an excellent solution for anyone looking to implement an online store with the minimum of expense and hassle; it is ready to go almost immediately after installation. All you need to do is add your products using the back-end administration tool, and add some of your store&#39;s personal information (such its business address, policies and delivery details). If you&rsquo;re happy with the layout and color scheme, that&rsquo;s almost it. Go live, make money.</p><p>But what if you&rsquo;re not happy with how it looks? Or want to add or remove certain features? The community services are there of course, but why read through countless online documents, or start a thread in the forum and hope that someone replies? This article will outline some of the basic changes that need to be made in order to customize the catalogue and shopping cart.</p><p><strong>What to know before you make changes<br /></strong><br />Figuring out exactly which files play which part in the overall scheme of how the application works can take some time, especially if you&rsquo;re new to PHP. Once you&rsquo;ve installed it and taken a look in the file manager through the admin tool, you&rsquo;ll appreciate what I mean. It&rsquo;s made up of a multitude of files, modules and functions integrated seamlessly to form the catalog. Every file includes (as in server-side includes) at least five other files, and keeping track of what changes need to be made where can be a little complicated.</p><p>Before making any changes to the code behind the application, there are a couple of things of which you need to be aware. First, although the admin tool does contain the facility to edit live files using the file manager function, I would strongly recommend not doing this&#8211;for some reason, it seriously messes with the site. Any file to be edited should be downloaded and edited locally.</p><p>Second, the facility to upload files should be restricted to graphics files. Any code files need to be uploaded using an FTP client. Code files uploaded using the admin tool are given a permission of 777 (full read, write and execute), which will kill your site instantly and generate error 500 pages. The FTP client you use needs to have the CHMOD function, which not all FTP programs have (Cute FTP Pro does). Upload the code using your FTP software, then right-click the file you&rsquo;ve uploaded and select CHMOD. In the CHMOD window, change the file permissions to 644 (owner read and write, visitor read-only).</p><p><strong>Logo and colors<br /></strong><br />Now, first of all, you&rsquo;ll probably want to remove the osCommerce logo from the top of the page and replace it with your own. This is easy enough and can be done manually by editing the header.php file in the catalog/includes directory. Open the file in any text editor (Notepad will do) and scroll down past the osCommerce declaration at the top, and all of the IF statements. In the first of the nested tables, there is a reference to the current logo:</p><div class="code">tep_image(DIR_WS_IMAGES . &#39;logo.gif&#39;, &#39;osCommerce&#39;)</div><p>Simply change the GIF name to that of your own logo (having first uploaded your image to the images directory of course) and amend the alt text (the text in single quotes). All done. There should be another osCommerce logo at the bottom of the page. Since you&rsquo;re using open source software, completely free of charge and restriction, you really should keep this in place. Other banners can be added using the banner manager in the admin tool, which is also where the osCommerce one can be removed if you really can&rsquo;t bear the sight of it.</p><p>Next, we deal with the colors. If your business already exists in the real world, you probably already have a color scheme. If you&rsquo;re purely an e-shop, for the sake of individuality, you&rsquo;ll still want to use your own brand of colors. Whichever scenario you fit into, color changes to the site in general are made solely in the stylesheet file which resides in the catalog folder. Download the file and open it in any text editor locally. Graphics, such as buttons and rounded table edges, will need to either be replaced or edited to fit in with your branding.</p><p>I won&rsquo;t go through every selector and class in this file. A lot of them can be left as they are; the error message colors should be left the same for example, and to even be using an advanced application such as this in the first place I&rsquo;d expect you to have a basic grasp of CSS. In order to change the look of the boxes that are set at the left and right edges of the page, look for the infoBox entries, of which there are four, and make any necessary changes. Other classes you will want to adjust, in order of appearance are; TR.headerNavigation, TD.headerNavigation, TR.footer, TD.footer, .productListingHeader, TD.productListing-data, TD.pageHeading, DIV.pageHeading, and TD.fieldValue. This should ensure that all objects on the page adhere to your colour scheme. Again, upload the new file to the catalog folder using your own FTP client and set the file permissions to 644.</p><p><strong>Site content<br /></strong><br />As for your site&#39;s content, some of the information is added to your site using the admin tool (your products and their attributes for example), and some of the information is defined using PHP and environment variables. Some of the content is even hard-coded into the pages directly (although this is rarely the case!)</p><p>To edit the information that is defined in included files, you need to find the file that contains the define statement, not the file that contains the include statement. To change the Shipping &amp; Returns information for example, you need to replace the file called shipping.php that is contained in the following directory:</p><div class="code">var/www/html/catalog/includes/languages/English</div><p>You simply add your own text and any mark-up required between the single quotes in the following statement:</p><div class="code">define(&#39;TEXT_INFORMATION&#39;, &#39;&#39;;</div><p>This will add your information using an include statement to the file also called shipping.php which is found in:</p><div class="code">var/www/html/catalog</div><p>Most files in the catalog directory have a matching file in the English, Spanish and German directories which will contain the actual content of your pages. These are the files that need to be updated to change the default text.</p><p><strong>InfoBoxes, step one<br /></strong><br />The infoBoxes are a versatile and dynamic feature of the catalog.&nbsp; Different pages or actions will cause different boxes to be displayed, and one of the things you may want to do is create your own infoBox. This is a three-part process. It starts with the file that actually creates the infoBox. For this example, I&rsquo;ll show you how to make a box called links.php, containing links taken from other areas of the site.</p><p>You may be used to using notepad to create HTML and script files. For working in PHP, you may find that one of the many specialist code editors that are available will help make your life easier. I like to use the excellent Xint text editor: it&rsquo;s free, it has line numbers (useful for debugging) and it features color coding (which helps you sort your HTML from your PHP and your If statements from your XML).&nbsp; It has a whole bunch of other features too, but these are the main benefits.</p><p>Whichever text editor you use, open it now and add the PHP declaration and an ID and date comment:</p><div class="code">&nbsp;&nbsp;&nbsp; /*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $Id: links.php,v 1.01 2004/06/28 01:13:58 hpdl Exp $<br />&nbsp;&nbsp;&nbsp; &nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; osCommerce, Open Source E-Commerce Solutions<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http://www.oscommerce.com</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Released under the GNU General Public License<br />&nbsp;&nbsp;&nbsp; */</div><p>To keep with the consistency of the pre-defined boxes, the above statement should be kept intact, and comments used to mark the beginning and end of the box:</p><div class="code">&lt;!-- links //--&gt;</div><p>In order to give the box an appropriately colored heading bar, you&rsquo;ll need to embed your box in a table and include the following array:</p><div class="code">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $link_box_contents = array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $link_box_contents[ ] = array(&#39;text&#39; =&gt; BOX_HEADING_LINKS);</p><p>The box heading is defined in another file, which is explained in full in step two. For the actual links, add the following code:</p><p>&nbsp;&nbsp;&nbsp; $link_box_contents = array();<br />&nbsp;&nbsp;&nbsp; $link_box_contents[ ]= array(&#39;text&#39; =&gt;<br />&nbsp;&nbsp;&nbsp; &#39;&lt;a xhref=&quot; &#39; . tep_href_link(FILENAME_CREATE_ACCOUNT, &#39;&#39;, &#39;SSL&#39;) . &#39;&quot;&gt;&#39; .<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOX_LINKS_CREATE_ACCOUNT . &#39;&lt;/a&gt;&lt;br&gt;&#39; .<br />&nbsp;&nbsp;&nbsp; &#39;&lt;a xhref=&quot;&#39; . tep_href_link(FILENAME_LOGIN, &#39;&#39;, &#39;SSL&#39;) . &#39;&quot;&gt;&#39; .<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOX_LINKS_LOGIN . &#39;&lt;/a&gt;&lt;br&gt;&#39; .<br />&nbsp;&nbsp;&nbsp; &#39;&lt;a xhref=&quot;&#39; . tep_href_link(FILENAME_ACCOUNT, &#39;&#39;, &#39;SSL&#39;) . &#39;&quot;&gt;&#39;.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOX_LINKS_MY_ACCOUNT . &#39;&lt;/a&gt;&lt;br&gt;&#39; .<br />&nbsp;&nbsp;&nbsp; &#39;&lt;a xhref=&quot;&#39; . tep_href_link(FILENAME_SHOPPING_CART) . &#39;&quot;&gt;&#39; .<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOX_LINKS_CART_CONTENTS . &#39;&lt;/a&gt;&lt;br&gt;&#39; .<br />&nbsp;&nbsp;&nbsp; &#39;&lt;a xhref=&quot;&#39; . tep_href_link(FILENAME_CHECKOUT_SHIPPING, &#39;&#39;, &#39;SSL&#39;) . &#39;&quot;&gt;&#39; .<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOX_LINKS_CHECKOUT . &#39;&lt;/a&gt;&#39;);<br />&nbsp;&nbsp;&nbsp; new linkBox($link_box_contents);}</div><p>The names of your links can be changed of course, but essentially, once you have finished the code:</p><div class="code">&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;<br />&nbsp;&nbsp;&nbsp; &lt;!-- links_eof //--&gt;</div><p>then saved the file as links.php, step one is pretty much complete. Upload the file in the normal way to the includes folder.</p><p><strong>InfoBoxes, steps two and three<br /></strong><br />Next, you need to define the links you have just created. Provided your site is produced in English, you&rsquo;ll need to browse to the following directory:</p><div class="code">var/www/html/catalog/includes/languages</div><p>and download the English.php file.</p><p>Open the file and add the following code pretty much anywhere:</p><div class="code">&nbsp;&nbsp;&nbsp; // links box heading<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_HEADING_LINKS&#39;, &#39;Links&#39;);</div><p>That will give your box its heading. Now define the links themselves:</p><div class="code">&nbsp;&nbsp;&nbsp; // Links box text<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_CREATE_ACCOUNT&#39;, &#39;Create An Account&#39;);<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_LOGIN&#39;, &#39;Login&#39;);<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_LOGOFF&#39;, &#39;Logoff&#39;);<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_MY_ACCOUNT&#39;, &#39;My Account&#39;);<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_CART_CONTENTS&#39;, &#39;Cart Contents&#39;);<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_CHECKOUT&#39;, &#39;Checkout&#39;);<br />&nbsp;&nbsp;&nbsp; define(&#39;BOX_LINKS_NEW_LINK&#39;, &#39;New link&#39;);</div><p>The text inside the single quotes is the text that is displayed in the box as the link, and the text in capitals is the action that occurs when the link is clicked. In order for this to work, you will need to associate the actions with a PHP file, this is done using the filenames.php file that is held in the following location:</p><div class="code">var/www/html/catalog/includes</div><p>To associate an action with a page, simply add a line of code like this almost anywhere in the file:</p><div class="code">define(&#39;FILENAME_NEW_LINK&#39;, new_link.php&#39;);</div><p>Save and upload the files to their original locations, and proceed directly to step three, inserting the box on a page. You&rsquo;ll need to download and edit either the column_left.php or column_right.php file, depending on which side of the page you want the box to appear. Both of these files appear in the includes directory also. Open whichever is applicable and simply add the following statement:</p><div class="code">require(DIR_WS_BOXES . &#39;links.php&#39;);</div><p>Save and upload the file, then open the catalog in your browser. Your box should be there in all its beautiful glory!</p><p>There are many more minor tweaks that can give your online store its individual personality, and the addition of a huge bank of downloadable modules and code to the community services can take things even further. I hope that I&rsquo;ve given you enough information to get yourself going, and enough inspiration to use the application in the first place.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/personalizing-oscommerce/feed</wfw:commentRss><slash:comments>0</slash:comments></item><item><title>OsCommerce, custom osC development, osC integration</title><link>http://web.bearsols.com/open-source/oscommerce/oscommerce-custom-osc-development-osc-integration</link><comments>http://web.bearsols.com/open-source/oscommerce/oscommerce-custom-osc-development-osc-integration#comments</comments><pubDate>Thu, 15 Apr 2010 22:15:29 +0000</pubDate><dc:creator>admin</dc:creator><category><![CDATA[osCommerce]]></category><guid isPermaLink="false">http://web.bearsols.com/?p=326</guid><description><![CDATA[The world has been swept off by a storm named OsCommerce. Almost everyone wants to get online and start benefiting from online business. Do you want an e-commerce system but afraid of the higher expenses of building a virtual storefront? Well, if you have been thinking about moving your brick and mortar business to click [...]]]></description><content:encoded><![CDATA[<p>The world has been swept off by a storm named OsCommerce. Almost everyone wants to get online and start benefiting from online business. Do you want an e-commerce system but afraid of the higher expenses of building a virtual storefront? Well, if you have been thinking about moving your brick and mortar business to click and mortar business, or about starting a new business that sells online, but have been adjourned by numerous reasons like expense, technical aspects and store management, there is an alternative: OsCommerce Solution.</p><p>OsCommerce is different than normal shopping cart systems available in the market. This is an integration of stand alone catalog and shopping cart system which comes ready straight out of the box with a wide range of features.</p><p>Features like Customer login and shopping history, order status, shipping information, multiple shipping addresses, product rating and reviews, best sellers, payment processing, tax calculation are to name a few. In short, it is a complete solution for your virtual store front. It is very important to develop a Custom osCommerce Application which is customer friendly, represents your business and your store in the best possible manner which generates profit.</p><p>Customers should feel more comfortable about your product, or they will not buy it. It is a good strategy to give something for free as sample to try out. Our experienced developers can develop custom osCommerce Applications with additional features according to your requirement.</p>]]></content:encoded><wfw:commentRss>http://web.bearsols.com/open-source/oscommerce/oscommerce-custom-osc-development-osc-integration/feed</wfw:commentRss><slash:comments>0</slash:comments></item></channel></rss>
