Item Sizes
I am a beginner with php. I created a drop down menu for item sizes whats the best function so that if a size is no longer in stock it can be removed from the drop down menu. I have columns set up in the database for sizes.
Thank You.
I am a beginner with php. I created a drop down menu for item sizes whats the best function so that if a size is no longer in stock it can be removed from the drop down menu. I have columns set up in the database for sizes.
Thank You.
The easiest way to do this would be to filter your recordset that populates the size list. In your recordset you can select all of the sizes for that item where the quantity is > 0. To make this work you will need to record the quantity along with the size. So long as you have a quantity that is greater than 0 for that size it will be included in the recordset that populates the list.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.