What you are seeking is product by stock and this is not a capability of Zen Cart right now.
What version are you using and post a url for assistance on your boxes
What you are seeking is product by stock and this is not a capability of Zen Cart right now.
What version are you using and post a url for assistance on your boxes
Zen-Venom Get Bitten
Re: Your first question
The way I handled this is to describe availability in the product description (Note that Yellow is only available in size Small), and then to validate the attribute combination when the user presses "Add to Cart." A description of how to do this validation in Javascript is given in
http://www.thatsoftwareguy.com/zencart.html
Catching the dropdown box change to "Yellow" and repopulating the size box with just "Small" could certainly be done in Javascript. However, it would annoy users who selected "Large," then "Yellow" and then pressed "Add to Cart;" they would see a "Small Yellow" in their cart and wonder why. The validation route is probably the better one.
Good luck,
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I'd really love something like this... perhaps a suggestion for teh DEV team...
Improved attributes handling is a feature planned for (I believe) the next release of Zen Cart. This will be out "soon", as in "as soon as the team can get it finished".![]()
This is really exciting news!!! Can someone from the Dev team comment further?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Stock by attribute is coming in v1.4, as per the roadmap:
http://www.zen-cart.com/forum/showthread.php?t=36912
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.