dgrebey Posted June 22, 2004 Posted June 22, 2004 I am looking to have my attributes listed in a tabular format, with quantity options for each attribute. For example, if i am selling T-Shirts, i want to have "Color" and "Size" listed out, with a quantity option for each. ---------------------------------------------------- ORDER FORM - (Quantity by Size & Color) S___M____L____XL [----] [----] [----] [----]: Red [----] [----] [----] [----]: White [----] [----] [----] [----]: Blue [ ADD TO CART ] ---------------------------------------------------- * [----] = form field for quantity. ---------------------------------------------------- In this fashion, a customer can choose a T-Shirt style and than submit the entire order (for color and size) with the click of a single button. As opposed to setting one order, than going back, inputting another, than going back, ..., than going back, etc... Thanks all, dale Quote
♥bruyndoncx Posted June 22, 2004 Posted June 22, 2004 if you can get this to work, it would be an awesome contribution, but I think it's gonna take quite a lot of coding - prepare for some long nights :D Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt
dgrebey Posted June 23, 2004 Author Posted June 23, 2004 (edited) A few possible solutions: 1.) I know specifically what attributes I will be using on all of my products--Size & Color--all items will have the same options for both. To that extent I can: Manually, one time, add these attributes to my product_info.php file. Add the attributes on the admin side so that they are stored in the database Remove the code, from the product_info.php file, that creates the attribute drop-downs. THIS IS THE PART THAT IS TRIPPING ME UP - I need to define attributes to specific quantity boxes (e.g. 1 QTY field for "Small, Black", 1 QTY field for "Medium, Black", 1 QTY field for "Large, Black", et al.) Directly within the product. 2.) Create a different product for each of my Attribute combinations. So, if i were to have two sets of attributes, (set one with 5 options, set two with 6 options) I could create a product for each of these combinations--a total of 30 different combinations. I could than install the "Master/Slave Products" contribution and alter its formatting to resemble the look & feel i desire (logically speaking this should be doable, practically speaking--I haven't tried it yet). 3.) Create a module that lists attributes in a matrix and fills that matrix in with quantity fields. Start by writing a new function to replace the drop down menu function (Instead of creating a drop down, this new function would make an HTML table with columns/rows = # of attribute options +1 (for headings) and populate those columns/rows with QTY fields that corresponded to attribute option combinations. Alter function calls on relative pages accordingly. Other obvious problem: What if their were more than 2 attributes--their would have to be some form of additional validating to determine which sets of attributes were to be used (obviously, the module couldn't combine 3 sets of attributes because my customers are not going to understand how to fill out a 3-dimensional array--essentially). SO WHAT DOES THIS MEAN? Option 1 - or a derivitive of it, would be the best choice for my needs. It will do what i need it to without too much manual upkeep or development time. Option 2 - though feasible, this is simply ridiculous. There is no way I'm going to create 30 Products simply to meet the all the needs of 1 product and its attributes. I would rather sub-contract somebody to develop the whole e-commerce system. Option 3 - This would be by far the best solution, if it weren't for the enormity of the task. Plus it would have solid uses for anyone selling apparel or anything similar. Though I'm confident in my abilities and am sure that I could eventually build this module, it sure would take forever. I'm pretty decent with PHP, but am not a master by any means. Fun Fun... Wish me luck--I appreciate your feedback. Edited June 23, 2004 by dgrebey Quote
♥bruyndoncx Posted June 23, 2004 Posted June 23, 2004 Master Products could get you going for option 1. Apparently latest update allows quantities for attributes Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt
sanam Posted April 17, 2005 Posted April 17, 2005 Did you got any thing going for this contribution ? I am intrested in similar functionality. If you are working on it and need some help let me know. Quote
sanam Posted April 17, 2005 Posted April 17, 2005 Did you got any thing going for this contribution ? I am intrested in similar functionality. If you are working on it and need some help let me know. Quote
minstral Posted July 13, 2005 Posted July 13, 2005 Hey Guys has anything come of this function as I am trying to find the same thing. Stock control with attributes. Quote
rinon Posted July 21, 2005 Posted July 21, 2005 I just ran across this thread by accident, but I was needing exactly what this thread was discussing. I've just coded this functionality for a client, and I will see if I can release a contribution of this soon. I'll have to check if it's ok with the guy I did the coding for. - Rinon Quote
ksl8313 Posted February 1, 2006 Posted February 1, 2006 This is exactly what I am looking for too, although contribution-wise I couldn't find anything and since I went way of custom programming. (bought a coder) Rinon, you plan to release that mod anytime soon? ;) Quote
ksl8313 Posted February 8, 2006 Posted February 8, 2006 Thanks to Rinon, I was able to get it working. My product_info.php displays just like the table above. However, my problem lies in the fact that when I add my products, all the attribute informations are lost. Anyone know which part I should be looking at for matters as such? Let me know, thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.