Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Stock levels against attribute combinations


Recommended Posts

Hi. I've come across a limitation of the default osCommerce installation (though mine has been heavily modified), and I'm certain others will have faced the same problem. Though it's far from impossible to solve, I'm reluctant to re-invent the wheel and wondered if anyone had written, or was aware of, a solution?


Basically, I want to control stock qty's of products, and in some cases this is already provided in osCommerce, with a qty column and corresponding support. However, I want to use product attributes which will include, say, size and colour. What I need to do is assign qty's in stock to combinations of attributes - so, for example, I can treat small black items as seperate items in stock, as, say, large green ones. The solution needs to be extremely flexible - so I can use the qty column in products where there are no options, or maintain separate stock qty totals for each size, or combination of size-colour, or even combinations of, say, size-colour-style. Clearly, the simplest solution would be to set up separate products, but this approach creates all sorts of other problems and is far from elegant. Has anyone else encountered this problem?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...