Not so easy

zzfritz <[email protected]>
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <a3d7f04fb2827a5104c14daf4d19110d@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=159098#159098
----------------------------------------------------------------

Uh, it took a while for the harsh reality to sink in ...

To deal with stock outages of a product's particular attribute-combinations, I can envision only two alternatives in product_info.php for presenting the available choices.  (I don't like the idea of accepting the attribute choices and then informing the customer that the chosen combination is out of stock.)

One would be to revise the second option list after each onBlur of the first option list (and so on, if there are more than two), but the performance would be quite sluggish from all the page reloads.  This would unduly try the patience of customers.

The second way would be to build and present a single dropdown list of the available attribute-combinations.  It's a bit less user-friendly than the multiple option lists, but it would only be mandatory for products not fully stocked in all attribute-combinations.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.