Kirill Posted December 2, 2008 Share Posted December 2, 2008 Hi All!I've some task and I do not see a correct way to resolve it. We have virtual product, some software bundle which include nine attribute groups. Simple example with 2 attribute groups:group1: attr1, attr2, attr3group2: some_attr1, some_attr2Not all options are valid. For example, attr2 can't be select with some_attr1Hope it clear. Okay, I have nine groups, some of them have more then ten attributes. So, use "Product combinations generator" is not an option. There are will be a huge number of products.Now the questions to all-knowing "All":Is there a way to create such product with complex attribute combinations?May be it will be good feature request if now there are no ways? If you will have such task, how you will resolve it?Thank you! Link to comment Share on other sites More sharing options...
spott Posted December 2, 2008 Share Posted December 2, 2008 PrestaShop doesn't have right now "virtual" attribute support. You only option is generate hundreds products - even when main product it is virtual.And this feature request can be good. Link to comment Share on other sites More sharing options...
Kirill Posted December 6, 2008 Author Share Posted December 6, 2008 I try "Product combinations generator". Was generated about 40 000 combinations (in truth, we need about 80 000, I just drop some attributes for test). To display this attributes, prestashop use SQL command: SELECT pa.*, ag.`id_attribute_group`, ag.`is_color_group`, agl.`name` AS group_name, al.`name` AS attribute_name, a.`id_attribute` FROM `ps_product_attribute` pa LEFT JOIN `ps_product_attribute_combination` pac ON pac.`id_product_attribute` = pa.`id_product_attribute` LEFT JOIN `ps_attribute` a ON a.`id_attribute` = pac.`id_attribute` LEFT JOIN `ps_attribute_group` ag ON ag.`id_attribute_group` = a.`id_attribute_group` LEFT JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1) LEFT JOIN `ps_attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 1) WHERE pa.`id_product` = 25 ORDER BY pa.`id_product_attribute` On my DBMS server ;-) (Debian Etch on Duron 950MHz/512MB RAM) it take 4 hours! So, generate combinations is not a way out.I've found feature request about bundles: herewhich can help with our problem, because our bundle( I've talk about it here previously and in my first post) have 6 products, and each have attributes.How soon this feature will be added? Without this feature, we can't use prestashop. Link to comment Share on other sites More sharing options...
Kirill Posted December 8, 2008 Author Share Posted December 8, 2008 anybody here ? Link to comment Share on other sites More sharing options...
Madrilene Posted September 30, 2009 Share Posted September 30, 2009 up for me too Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now