Archive for January, 2008
osCommerce Online Merchant v2.2 RC2a Released
Written By Gary on Jan 31 2008 · Comments (0)
osCommerce Online Merchant v2.2 RC2a has been released to fix 2 bugs and replaces 2.2 RC2. The fixes are:
Use of PHP 5 only stripos() function during the database restoration routine on the Administration Tool. A compatibility function has been added to work on PHP <5 servers.
A PHP warning message is produced on requests where the […]
HOW TO: create osCommerce buttons in seconds
Written By Gary on Jan 30 2008 · Comments (0)
Creating buttons for osCommerce is a chore. There is a "css button" contribution that I recall seeing years ago - but I thought it would be nicer to point out a really cool site that creates buttons for you - have a look at The osCommerce Button Generator.
Although the button sets are fairly limited - […]
New Sexy Admin Area
Written By Gary on Jan 29 2008 · Comments (29)
I just created a new Sexy Looking Admin Area for osCommerce RC1. It's untested on any other osCommerce platform.
It changes the look of the Admin from this:
To This:
As you can see, quite a difference! It's a 1 minute install, just overwrite your base RC1 files with the files contained in the .zip - […]
Beautiful Template for RC2
Written By Gary on Jan 25 2008 · Comments (1)
Here's a really nice template made specifically for osCommerce RC2;
Read more.
Lots of people have been asking about this template - to cut a long story short, all you need to do is upload a new RC, then upload a few more files (supplied in the template zip file). Done! It changes quite a […]
Stripos used in RC2
Written By Gary on Jan 24 2008 · Comments (0)
In one place, stripos is used in RC2. Stripos is PHP5 only, so many shops will break when used on a host that is not up-to-date.
The solution is to find every instance of stripos, and change it to strpos (which is backwards PHP compatible). I believe the only code you will need to change is […]
Tableless Design: Power Factory
Written By Gary on Jan 24 2008 · Comments (3)
This site, posted today in the feedback forum of the official osCommerce Forum is promoted as a "table less" and "completely remade to css" design.
Although that's not quite true (there are some tables), it's a massive improvement on the normal osCommerce, and well worth looking at (under the bonnet).
Check it out: POWER FACTORY
HOW TO: show number of products in cart
Written By Gary on Jan 24 2008 · Comments (2)
Shwoing the number of products in osCommerce cart is very simple;
echo $cart->count_contents();
This will show the total number of items in a persons cart.
You can go further with this and say something like;
You have <?php echo $cart->count_contents(); ?> items in your cart.
But this will not be grammatically correct if only 1 item is in the cart, […]