Stocks by attributes - Multiple attributes
Hi,
Sorry if this has been posted, I've been searching the thread but don't see an answer.
I have one product with 2 attributes. When i try to add stock i get 2 drop down boxes, 1 for each attribute. You must select a value from each drop down box and enter the quantity.
My problem is that my attributes are not related, the product is made up fo 2 articles, eg a football strip, you buy one outfit and it is made up of a shirt and shorts. I have different quantities and different sizes, so i need to enter the quantities independantly.
Anyone had the same problem, any ideas.
Cheers
Andy
Re: Stocks by attributes - Multiple attributes
Quote:
Originally Posted by
gandalf
I have one product with 2 attributes. When i try to add stock i get 2 drop down boxes, 1 for each attribute. You must select a value from each drop down box and enter the quantity.
My problem is that my attributes are not related, the product is made up fo 2 articles, eg a football strip, you buy one outfit and it is made up of a shirt and shorts. I have different quantities and different sizes, so i need to enter the quantities independantly.
Actually your attributes aren't really attributes in the way in which Zen cart understands the term. They are two physically separate products combined to create a product bundle.
Zen Cart can't handle this at present. Indeed, to do so would require a very different data structure to that currently used. The complexity is that the sale of a particular product bundle (e.g. red shirt + blue shorts)can affect the stock of other product bundles (e.g. white shirt + blue shorts and yellow shirt + blue shorts). Handling this inter-dependancy between product bundles is not part of core code, nor to my knowledge planned to be added.
The best that I can suggest is treating your products as separate products (red shirt, white shirt, yellow shirt and blue shorts) and then linking each shirt to appropriate colored shorts, and visa-versa, via the cross-sell module. Otherwise it would require a ton of custom development.
Re: Stocks by attributes - Multiple attributes
Thanks Kuroi,
Understand, will check out your suggestion.
Thanks
andy
Stocks by attributes SQL table error message when defining variant
Hi.
I have installed danielcor's Stock Attribute 3.01.1 module and am getting the following error when i click DEFINE VARIANT in the Admin under Catalog > Products by Attributes Stock:
1146 Table 'realdnahair_co_uk_-_001.products_attributes' doesn't exist
in:
[SELECT pot.products_options_types_name AS name FROM products_attributes pa INNER JOIN (products_options po INNER JOIN products_options_types pot ON po.products_options_type = pot.products_options_types_id) ON pa.options_id = po.products_options_id WHERE pa.products_attributes_id = 553]
Any idea what this means or what could be done?
Thanks, Kyle Duncan
Re: Stocks by attributes SQL table error message when defining variant
Quote:
Originally Posted by
kylelondonuk
I have installed danielcor's Stock Attribute 3.01.1 module and am getting the following error when i click DEFINE VARIANT in the Admin under Catalog > Products by Attributes Stock:
1146 Table 'realdnahair_co_uk_-_001.products_attributes' doesn't exist
in:
[SELECT pot.products_options_types_name AS name FROM products_attributes pa INNER JOIN (products_options po INNER JOIN products_options_types pot ON po.products_options_type = pot.products_options_types_id) ON pa.options_id = po.products_options_id WHERE pa.products_attributes_id = 553]
Any idea what this means or what could be done?
It means that the table "product_attributes" doesn't exist in your database.
How did you install the database patch?