Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (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 by bigberge
Posted

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

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 ======>>>>>.

Posted (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 by bigberge
Posted

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]

Posted

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.

Posted (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 by bigberge

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...