OOS (Out Of Stock) module for product_info

Some shopowners might like to show products that are out of stock, but not have them available to add to cart. This module updates the product_info.php page to enable that.

So, if product_stock is set to zero this is what normally shows:


Buy button exactly as per standard Responsive osC, out of the box. With my new Module, that changes so that it looks like this:


Warning Message (in red) can be changed to suit.
Button text and icon can be changed to suit.
Form inputs and buttons are disabled.
Product cannot be added to cart from the product_info page.

What sort of a module is it?

It’s a HT Module.
Upload, go into admin and turn it on.

Want it?

Make a donation of just £2.70 at this link. By making a donation, you are helping to support the future of the Responsive osCommerce project. Within 24 hours of your donation, I’ll get the zip to you.

Order Summary on checkout_success.php

Here’s a nice little module that adds in a very basic “order summary” on the checkout_success.php page. It’s a content module, so is super simple to install, just upload and turn on in admin!

It looks like this:


To use this, you’ll need to be on the Responsive version, either Gold or Edge, does not matter. If you have an older version, it is still possible to use this, but would need just a small adjustment in the modules template file.

Want it ?

Make a donation of just £3.33 at this link. By making a donation, you are helping to support the future of the Responsive osCommerce project. Within 24 hours of your donation, I’ll get the zip to you.

View Orders – Quick Links

This one adds a list of orders to the “My Orders” portion of account.php – which makes it much easier for your customers to find their previous orders.


Good for GOLD, Good for EDGE

In an out of the box Responsive osCommerce, that piece of account.php looks like this:


With my modification, it now looks like this:


Shopowner can also choose to remove the default link “view the orders I have made”…if that makes more sense not to have it, why not remove it?? Shopowner can also choose the number of orders to show.

In the Admin side, it looks like this:


This is a simple installation. Unzip, Upload, Turn On, DONE.

Want it? Great…

Make a donation of £2.50 at this link. By making a donation, you are helping to support the future of the Responsive osCommerce project. Within 24 hours of your donation, I’ll get the zip to you.

Testimonials Box.

Another one to allow you chaps to support the Project. Received overnight;

would love a box like the review box to show random testimonials

And so, here it is. A new sidebox module that shows a random testimonial from your site…which installs just like any other box; upload, go into admin, turn it on. NO CORE CODE CHANGES.

Shop Side


Admin Side


Want It?

You can get it by donating just £2.00 to the Responsive Project. Donation link, thank you. Donations allow me to spend time moving osCommerce forwards. THANKS.

Dropdown Search. Help support the Project.

New Navbar Module which introduces a dropdown search. This is good for EDGE which has the Core Modular Navbar. Simply upload the new files and go into admin and turn it on. Done.

Looks like this in the Navbar:


And when the search icon is clicked:


And in the Admin Area;


So, as you can see it’s a new search facility designed for saving space until the search box is needed. Quite nice I think.

And so, you want it…how do you get it…you can get it by donating just £3.50 to the Responsive Project. Donation link, thank you. Donations allow me to spend time moving osCommerce forwards. THANKS.

HTML Email in osCommerce … professional

So, there are some older (and new!) addons that support the use of HTML in outgoing emails. All are outdated or just half thought out in terms of function.

Introducing the ultimate in HTML Emails capability…

With just one tiny change…here’s the type of emails your shop could be sending to your customers…how professional does this make your site look…

Click the images to see larger versions

Welcome Email

Order Email

As you can see, this gives a level of professionalism unseen in any osCommerce shop before now.

This system also allows you to track clicks and opens of your emails, as well as have unlimited templating capability so that you can easily change the look of your emails (it can even be made to work with multiple languages!).

Interested to learn more? Get in touch to see (and test) the system.

Tiny Investment … to optimise your osCommerce shop

For a tiny investment of £19 (approx $25, approx Euro 22), you can optimise your (bootstrapped) osCommerce shop in the following ways;

1. All new Social Icon system
Proven system that replaces the stock Social Icons. Speeds up your site.

2. Popup Boxes
Two versions of Popup boxes (uses Bootstrap Modal).
Exit box (ask why people are bailing out of your site? give them an offer to complete checkout?)
Pageload box (popup after X many pageloads).

3. Formatting UK postcodes
Hook in create_account and a shipping module for postcode delivery

4. Googles Address Autocomplete
Use googles technology to allow address finding in create_account.php

5. Facebook Dynamic Ads
Utilise the power of Facebook for promotion.
Full system.

6. A bunch more modules
Navbar, Content, Header Tags

Read more here.

Getting ready for 2.4

2.4 will be based on the excellent Community Responsive version, with a few extra changes to accomodate todays needs in terms of codebase. It is not going to be a full OOP codebase, that is coming in v3.

Put simply;

You can expect v2.4 to LOOK just like the Community Responsive.

There are changes that developers will have to comply with, not least the use of namespaces and PDO (to replace MYSQL(i)).

What this means (for example) is that a simple call to install a module that used to look like this http://pastebin.com/HfAiC2qY

Would instead look like this

In addition the module (in this case the GTIN product_info module) would also need to access the Registry namespace in order to link to the database.

Why are these changes being made?

PHP7 advises to use PDO to access a SQL database. MySQL commands are deprecated. MySQL(i) will still work, but PDO gives the option of more easily swapping from MySQL to another database system…

Namespaces are introduced to allow Developers to write code without the fear of breaking other parts of the code…

More on the new 2.4 to follow…

Better Social Icons

I don’t know if you’ve ever noticed the Social Share box on a standard osCommerce, it looks like this:



2.3.4 Responsive


With the ability in Admin to turn on and off share links, which I’ll call “widgets”. So far so good.

What you probably don’t realise is that these “widgets” also load a lot of javascript. Which is OK, except for shoppers who are on a slow connection. Loading all that javascript does make an impact on site speed.

With zero widgets (tested on Samsung Galaxy product on a standard install of Responsive):


And with all widgets loaded (same product page):


Obviously that’s not a *massive* difference, but every single speed point matters in my opinion and so I set out to change things…first a little bit of history. Back in Feb 2015 I made this post at the osCommerce Forum in the hope it would kickstart a little project to make an alternative (better?) system for Social Sharing. Nothing came out of it – no surprise really as there are very few people who are pro-active left in that community – the only one who was a bit interested was user “Mort Lemur” who steered the conversation away from its intended target and onto “add this” which then toyicebear got involved in the discussion…

Back from history and into the present day…I revisited the idea…

Introducing the all new Social Sharing system…


It’s just like the existing system, but loads no crap. This means it has a downside “potentially less user friendly” but an upside “should be faster to load”. Let’s see – prior to writing this post I have not tested the speed – here is the result, compare this to the first speed test of 100/65/76 …


What can we learn from the speed results?

Mobile Friendliness drops from 100 to 97
This is due to the “tap targets” being too close to each other. Not a big deal and could easily be solved by spacing the widgets out using .css

Mobile Speed stays static at 65 and Desktop Speed stays static at 76
This is really really good, it means the new system is not sucking speed away from any users no matter which device they use to browse.


I’m very pleased that I was able to build up a system that saves a few points on speed compared to the official system of Social Bookmarking. In my opinion, the new system is far better looking than the official system and has as much usability. In addition, shop-owner can choose to have these links as a side-box as shown above, or as a product_info module…

And the best bit of all this: the whole system has no Core Changes! Just upload, and turn on!

So just what did it take to code all this?

1 new Box Module, can be put into the left or right column
1 new Product_Info Module obviously goes onto the product_info page
10 new Widget Modules; Digg, Email, Facebook, G+, LinkedIn, Pinterest, Reddit, StumbleUpon, Tumblr, Twitter


To back this up, I also tested via GT Metrix, which is a tool that is far from perfect but gives an indication of how the page is with regards to speed and loading…

With No Widgets loaded:


With the old Widgets system:


With the new Widgets system:


Look at the similarity between “none” and “new”.
Then look at the difference between “none” and “old”…

The widgets (old style with javascript etc) loads two whole seconds slower and costs an extra 0.5 megabytes of code!

Hold on a moment, let’s get a sense of perspective…

Most shops won’t load all the Widget modules. I suspect that if shops use the system, they use the following; Facebook, Pinterest, Twitter.

Even so, by changing to the new system…you can easily shave off a second per page load and a few hundred bytes…it is worth it, isn’t it?

Product Info Modules

In the latest osCommerce incarnation, it is very simple to create standalone modules which are installable and editable from within the Admin section, this means no core code changes to install addons that add “flavour” to a page. Let’s take a closer look at some modules that are available for the product_info (p_i) page – and remember…NO CORE CODE CHANGES!

1. Social Icons
Adds in a new system of Social Icons, that require no javascript, and is therefore stunningly fast-loading. Modules include: digg, email, facebook, g+, linkedin, pinterest, reddit, stumbleupon, tumblr, twitter.

2. Stock
Shows the product stock in a really nice layout.

3. Products Xsell
Dedicated admin page to set up Xsell products. These show on the relevant p_i page.

4. MP3 Player
Add MP3 tracks to your products, show a MP3 player in your p_i page.

5. Product Tabs
Tabbed layout for extra product data

6. Product Compare
Adds a button that powers a product comparison page.

7. Extra Product Fields
Shows product data on p_i page

8. Linked Products
Shows a link to any linked products

9. Facebook Comments
Allow people to comment on your products

10. Multi Tier Xsell
Same as #3, but supercharged – get 3 levels of Xselling!

11. FAQ System
Get lots of questions about your products? Solve that with this module.

12. Public Tagging
Aka Folksonomy. This is the way to create a faceted search system, with no work on your part!

13. Link to Parent Category
Ever needed a “show more in this range of products” link? You got it!

14. MRRP
Show the Manufacturers Recommended Price

15. Product URL
Missing the old functionality? Bring it back, sing it back…

16. Related Products
Maybe #13 doesn’t cut it? Instead show the products from the category…

17. Slaves
Set up slaves. Show them.

18. Personal Page
Link to a page that allows shoppers to save products into a wishlist

As you can see, with just 1 piece of extra code in product_info.php (included in Responsive osCommerce) it is simple to supercharge your product_info page. The possibilities are endless, and are only limited by your lack of imagination.

If you have an idea for a module that shows on the product_info page, comment below.