CleoK Posted December 11, 2003 Share Posted December 11, 2003 Please bear with me, i'm new at PHP.. and i've really tried to figure this out myself... in the listing of products under each catagory.. say Category: Hot Sauces product name ....... quantity buy now SissySauce 1 graphic we want to change the "quanity" to an input form.. instead of just a given number.. like <input type="text" name="quantity" value="1" maxlength="2" size="2"> and make it so only whole numbers are accepted.. not 1.5 or something.. ------ in what file and where on that file do we put the code???? and can we make it so only whole numbers are accepted? Thanking You big time for any help you can give a novice Link to comment Share on other sites More sharing options...
CleoK Posted December 12, 2003 Author Share Posted December 12, 2003 Let me try again... If I go to a CATAGORY (we have no sub-catagories) the products are listed thusly.. left to right Picture Product Name Price Quantity Buy Now Under Quantity.. the product quantities are now shown as a static "1" (the number set via admin) .. when the BUY NOW button is clicked.. only one of that product is added to their basket what we want it to show is.. <input type="text" name="quantity" value="1" maxlength="2" size="2"> so they can change the quantity value from 1 to 99 if they want .. then click the BUY NOW button and that many of the product shows up in their basket. I can't even find the php file all this is in for the category listings! Help.. pleaseeee! :) thank You Link to comment Share on other sites More sharing options...
TomThumb Posted December 12, 2003 Share Posted December 12, 2003 Check this contribution, I believe it does what you want. Product Listing with Attributes while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.