bigberge Posted April 10, 2009 Posted April 10, 2009 (edited) Hi. I'm currently selling clothes on my oscommerce 2.2rca shopzone. Actually, i have to make one product entry for each color. Because if i have White model L XL and XXL and Black model S M L XXL for example i cannot do a single product. Thanks for your help EDIT: :) my question is, is there a way to link COLOR and SIZE together ? Edited April 10, 2009 by bigberge Quote
♥geoffreywalton Posted April 10, 2009 Posted April 10, 2009 Use product attributes Colour and size as attributes. The are contributions to sort the order that attributes appear in the drop down boxes. Other useful contributions: Stock by attributes ajax product attribute manager Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
bigberge Posted April 11, 2009 Author Posted April 11, 2009 (edited) instsalling stock by attributes I have a problem installing the code in the products_attributes.php ... i can't find some code lines... maybe someone can help ? --Find-- <td align="right"><br><form name="option_order_by" action="<?php echo FILENAME_PRODUCTS_ATTRIBUTES; ?>"><select name="selected" onChange="go_option()"><option value="products_options_id"<?php if ($option_order_by == 'products_options_id') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_ID; ?></option><option value="products_options_name"<?php if ($option_order_by == 'products_options_name') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_NAME; ?></option></select></form></td> --Change With-- <td align="right"><br><form name="option_order_by" action="<?php echo FILENAME_PRODUCTS_ATTRIBUTES; ?>"><select name="selected" onChange="go_option()"><option value="products_options_id"<?php if ($option_order_by == 'products_options_id') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_ID; ?></option><option value="products_options_name" selected<?php if ($option_order_by == 'products_options_name') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_NAME; ?></option> </select></form></td> --Find-- Edited April 11, 2009 by bigberge Quote
bigberge Posted April 11, 2009 Author Posted April 11, 2009 since it wasnt working, i put the original files back in the place of the modified ones... and now when i try adding a attribute it says: 1136 - Column count doesn't match value count at row 1 insert into products_attributes values (null, '115', '3', '16', '0', '+') [TEP STOP] Quote
bigberge Posted April 11, 2009 Author Posted April 11, 2009 1054 - Unknown column 'options_quantity' in 'field list' select sum(options_quantity) as total_quantity from products_attributes where products_id='148' [TEP STOP] and this to. Quote
bigberge Posted April 11, 2009 Author Posted April 11, 2009 (edited) btw i also installed the ajax at manager. and its working from there... maybe its that mod that is the problem... but i tried to just reinstall the whole shop with the same db... and the errors still come. Edited April 11, 2009 by bigberge 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.