Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento Configure Products with 100's of permutations

I have an E-Commerce store (Build with Magento). I am stuck in a problem which you guys can help me to figure it out.

In my Magento Store each product has 40 color options and 10 different sizes. This add up to 400 permutations per product. I need to maintain inventory for each permutation and also make the products filterable.

The only solution for this in Magento is Configurable products but you need to add simple product for each permutation. The store has 6000 products meaning 6000*400=2400000 total products. I simply can't add these many products.

What are my other options? I am stuck here for quite some time.

Thanks in advance

like image 840
jibran musa Avatar asked Nov 01 '22 10:11

jibran musa


1 Answers

One solution could be to create the 6000 simple products with color and size as attributes.

You would then observe on the add to cart event, or create a custom controller action, that would create a new product on the fly and populate the color and size attributes based on post values from the product view page. Then you would have to create a custom flat table to manage the inventory of each product-color-size combination. The custom inventory table can be referenced to set the stock item for the generated product and in the product grid/view to check the availability.

This would create a new product for each purchase, but you may be able to get away with deleting the product after the sale is made. Also you may have to customize the reordering process, if you need that feature as well.

This may not be the most straight forward solution, but it should work, in theory.

like image 191
Tariq C Avatar answered Nov 09 '22 14:11

Tariq C