Jump to content

Feature request: stock of combinations per attribute


Recommended Posts

When I use different attributes on a product, prestashops default behaviour is that it generates

combinations from the different attributes which can have a stock per combination.

 

This is legit when you have products which have a size and a color.

 

But sometimes we want to create customizeable products. They are limited so orders should be denied when out of stock.

 

In our case (simplified) for example a custom build bicycle wheel with:

 

  • HUB A
  • HUB B
  • RIM A
  • RIM B

 

For simplifying this, all Spokes are the same. Thats resulting the following combinations:

  1. HUB A/RIM A;
  2. HUB A/RIM B;
  3. HUB B/RIM A;
  4. HUB B/RIM B;

 

Say we have a real stock of 5 per rim and hub - thats a pretty good example.

 

We can't stock every combination to five, cause when I sell 5 of HUB A with RIM A,

I can't sell RIM B in combination with HUB A cause HUB A is already sold out.

So you must be able to sell the resting stock of RIM B with HUB B.

 

Theoretically we have a "possible" stock of 5 per combination. This would be resulting in theoretical 20 Products, but we have only actual 10 Products, cause we have only 10 hubs. If I try to split the stocks, this will be problematic with different stocks ore more combinations.

Cause then the stock for every combination must be divided by the number of attributes. But so you can't sell all possible combinations.

 

Might be a bit confusing ... I hope I could point in the right direction.

 

It might be a cool feature if we have a second option to define stocks of combinations on a per attribute basis.

Edited by janthemanson (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...