Easy Stock Message

I’ve coded up a new system which allow you, shopowner, to easily update stock (in your admin) and then easily show stock in the shop-side, have a look;

Admin Side

Three New pages and a new box;

1. Individual Updates
Click a products stock, update it, click anywhere else.

Notice that for easy reference, any product with less than 1 in stock is marked in red.

2. Multiple Updates
Update any number of stock, scroll down and press the button.

Notice that for easy reference, any product with less than 1 in stock is marked in red.

3. CSV Updates
Upload a CSV file, any product id that is in the CSV file is updated

In admin, you also get a new Box with links to these three new pages

Shop Side

1. Module for the Product Info Page
This is as explained at http://www.clubosc.com/oos-out-of-stock-module-for-product_info.html and this can be used to display a message and change the look/text of the buy button.

2. Core Code change for product listing module
Unfortunately you’ll need to add 1 line of code into the product listing module 🙁 Once done, it looks like this

You can see that we have no stock of “Microsoft Intellmouse Explorer”, so the button is changed to RED and “Back Order”. This could instead of Red, be changed to a disabled button or whatever shopowner needs…

Conclusion

A very simple way to extend the stock functions in osCommerce.

Want it?

Make a donation of just £10 at this link – donations can be anonymous and are done via Paypal. 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.

Important Note

This system is available only for the Community Responsive osCommerce.

28 Days Of Code, 2017 Version…

TL;DR – no 28DoC project in 2017

For the last couple of February’s I’ve completed a “28 Days Of Code” project where I bring out an all-new module each day and sell it at very low cost.

Those modules have ranged from small things such as “password strength meter” to much larger things such as a blog or products compare and loads of other useful modules.

For 2017 I decided not to run the project, as I found it too stressful to constantly come up with new ideas where they simply do not sell. Last time, there was a grand total of 16 buyers over the course of the 29 days of the project. That’s no doubt my fault as I bring my ideas to fruition without asking for input from shopowners as to what they exactly need. I learned a long time ago not to ask for shopowners input as each shopowner needs something different from the next and so getting an answer that all (or most!) agree on is nigh impossible.