Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Inventory controls on sizes


JackChar

Recommended Posts

Posted

Hi,

We are building a web site with osCommerce and run into a show stopper. It appears that we cannot use inventory or out of stock on the sizes of a product.

Example.

Product VL511N - Mens Motorcycle Jacket comes in sizes 36-60.

I can set out of stock or use inventory count on the Product level but we need it on the size level. If we run out of size 40 but have all other sizes how do I stop people from ordering size 40.

 

I cannot make each size a product.

 

Help - this is critical.

Jack Charrette

[email protected]

Posted

Hi Jack,

 

My wife has a similar problem on her site and is currently managing this manually, which is not foolproof.

 

To my knowledge there is not a contribution to do this, or I would be using it. I have got half way to coding one though. What is required is to add a quantity field for each of the attribute values and then only show those that have quantity of more than zero when the customer views the product. This much is easy.......

 

Then the admin side needs a utility with which to update the available quantities for each size, color or whatever, again pretty straightforward to do.....

 

Then the checkout process needs to be updated to decrement the quantities according to what the customer has purchased - it is this part that have yet to code - trying to do about 3 zillion projects at once has meant that I haven't gotten round to this yet.

 

Course, if anyone else is working on a solution I'd be interested to here about it!

 

Cheers,

 

 

 

Mark

Posted

Thanks Mark,

 

I am very new to osCommerce - just started looking at it this week.

 

Can you (or anyone) give me some clues on how to proceed with this? I have done a lot of programming in the past including C but not with php.

 

Any recommedations ie how to find the module I need etc. etc.

 

Thanks

Jack Charrette

[email protected]

Posted
To my knowledge there is not a contribution to do this, or I would be using it.
Isn't this what QTPro does?

 

--Matt

Posted

Maybe but since I'm a newbie to osCommerce I didn't know and need advise from people like you but ...

I cannot get on to their web site www.vary.net/qtpro - server not found??

Jack Charrette

[email protected]

Posted

Just download the package from the contributions area. I'm not sure what is up with the home page.

 

Good luck,

Matt

Posted

Hmmm,

 

this one's going to be interesting as I have options as images installed on my wife's site too (which was a painful experience and I really don't want to break it!).

 

As the changed code in this contrib isn't commented I'm gonna have to compare line by line to install it :o(

 

 

Mark

Posted

OK, so I've had a chance to play with QTPro now on one of my demostores (doesn't matter so much if I break things!).

 

QTPro is based on quite an old version, plus I have some contribs installed which impact some of the same files/database tables (additional images, improved attribute manager, etc).

 

With a little judicioius use of Winmerge I managed to copy across the lines of code required to get it installed without losing any other features accidently.

 

But, I don't think that QTPro is the complete solution here, unless I've missed something in the install. None of the files that are involved in the checkout process are modified and therefore the quantities for each of the options/values involved in a transaction are not updated.

 

For example, if I have 10 of product A in Blue and 10 of Product A in Red, this contrib correctly adjusts the total for product A to 20 when I enter these details in admin. If someone buys a Blue product A then I end up with 19 in total in stock, but still 10 Blue and 10 Red as these values are updated automatically!

 

Needs some more work before I can use it I think.....

 

Cheers,

 

 

 

Mark :roll:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...