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?
Contact me on the osCommerce Forum. Thank You.
Important Note
This system is available only for the Community Responsive osCommerce.