Jump to content

Sharing quantities between combinations


Recommended Posts

Here's a problem that I've noticed a few users having but it remains unsolved. It's related to the quantities of combinations.

 

It's easiest described with my problem:

 

I have 1 piece of art to sell (quantity for the product is 1)

I want my customers the option to buy it framed (with a black or white frame) so I set up attributes and develop 3 combinations.

Combination A ) No frame. Just the art.

Combination B ) The Art with a black frame

Combination C ) The Art with a white frame

 

I MUST set a quantity for EACH of these combinations - a minimum of 1 is required even though I only have 1 piece of art.

 

So, when someone buys Combination A only the stock of Combination A is depleted. There remains available 1 stock of Combination B and 1 stock of Combination C. To reiterate, I only have 1 piece of the art.

 

I need the quantities of each of the combinations to be depleted by 1 when somebody buys any of the pieces.

 

Is this clear?

 

There was an attempt made here made by Eggbert74 with presta 1.4 but it hasn't worked for me but it might give some of you out there interested in the problem a starting point.

 

http://www.prestasho...86#entry1059286

 

I have Prestashop version 1.5.2 and any help will be MASSIVELY appreciated.

 

Thanks.

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

×
×
  • Create New...